Yes but in that case we are speaking of groups rather than one group. A
function to get a user's groups by user name would be:
Function getGroupsByUsername(ByVal strUserName As String) As Collection
Dim objGroup As DAO.Group
For Each objGroup In DBEngine(0).Groups
getGroupsByUsername.Add objGroup.Name
Next objGroup
End Function
Yes but in that case we are speaking of groups rather than one group. A
function to get a user's groups by user name would be:
Function getGroupsByUsername(ByVal strUserName As String) As Collection
Dim objGroup As DAO.Group
For Each objGroup In DBEngine(0).Groups
getGroupsByUsername.Add objGroup.Name
Next objGroup
End Function
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.