How to programmatically set group/user permissions for databaseobjects?

S

Sidney Linkers

Hi All,

I'm writing a patch for a backend that will create a new table and i want to
set permissions differently for some groups and users. How can i set
permissions on databaseobjects programmatically, like a table, for specific
groups and/or users?

Any advice on this would be great!

Sid.
 
G

Graham Mandeno

Hi Sid

Have you read the Access Security FAQ? If not, then I *strongly* recommend
you go to http://support.microsoft.com/?id=207793 where you can download it
or read it on line.

It includes sample VBA code for manipulating object permissions.

--
Good Luck!
Graham Mandeno [Access MVP]
Auckland, New Zealand

Return mail address is invalid in a vain attempt to reduce spam.
Feedback is welcome at: (e-mail address removed)
Please post new questions or followups to newsgroup.
 
S

Sidney Linkers

Hi Graham,

Thanks, already found it!

Sid.
Graham Mandeno said:
Hi Sid

Have you read the Access Security FAQ? If not, then I *strongly* recommend
you go to http://support.microsoft.com/?id=207793 where you can download it
or read it on line.

It includes sample VBA code for manipulating object permissions.

--
Good Luck!
Graham Mandeno [Access MVP]
Auckland, New Zealand

Return mail address is invalid in a vain attempt to reduce spam.
Feedback is welcome at: (e-mail address removed)
Please post new questions or followups to newsgroup.

Sidney Linkers said:
Hi All,

I'm writing a patch for a backend that will create a new table and i
want
to
set permissions differently for some groups and users. How can i set
permissions on databaseobjects programmatically, like a table, for specific
groups and/or users?

Any advice on this would be great!

Sid.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top