次の方法で共有


UserInfoManager.GetGroups Method ()

 

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