Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a list of groups to which the current user is a member.
Namespace: Microsoft.WindowsServerSolutions.Users
Assembly: UserObjectModel (in UserObjectModel.dll)
Syntax
public IEnumerable<string> GetGroups()
public:
IEnumerable<String^>^ GetGroups()
Public Function GetGroups As IEnumerable(Of String)
Return Value
Type: System.Collections.Generic.IEnumerable<String>
A IEnumerable<T> list of group names.
See Also
UserInfoManager Class
Microsoft.WindowsServerSolutions.Users Namespace
Return to top