Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Group name in access security

Status
Not open for further replies.

Grieve1

Programmer
Jun 11, 2008
33
GB
I have set up security on a database and have used Application.Currentuser to record the username so as they can have forms allocated to them and what I was looking to do is record the user groupname so as I can allocate forms to specific groups. If it is possible
 
A user may be a member of more than one group:

DBEngine.Workspaces(0).Users(Application.CurrentUser).Groups(0).Name
 
Many Thanks Remou for this. Yes I do know a user can be in more than 1 group but going to try and avoid this as best I can.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top