I found a way to print a list of the users and groups in a secured database manually from the MSDN website/Access Help (Tools menu, Security, User And Group Accounts, click Print Users And Groups), but I am wondering if the same can be accomplished using code?
Sorry for my ignorance.
Also, is there a way to make a listbox return a list of all the users and their associated groups? I've read all the posts about the Help Group Object, Groups Collection, User Object, and Users Collection Example, and I've tried many versions of the code to enumerate all the users and groups, but (I said I was ignorant) I think this applies to the current user? or something? and it isn't working to print off a whole list of all the users, etc. when I try to tie the code to a Print command button, or some such. I don't know what I am doing incorrectly...any ideas?
Any help would be greatly appreciated.
Thanks,
tgikristi
Sorry for my ignorance.
Also, is there a way to make a listbox return a list of all the users and their associated groups? I've read all the posts about the Help Group Object, Groups Collection, User Object, and Users Collection Example, and I've tried many versions of the code to enumerate all the users and groups, but (I said I was ignorant) I think this applies to the current user? or something? and it isn't working to print off a whole list of all the users, etc. when I try to tie the code to a Print command button, or some such. I don't know what I am doing incorrectly...any ideas?
Any help would be greatly appreciated.
Thanks,
tgikristi