UserHelpers.GetCurrentLoggedOnUserGroupsSid Method ()

 

Get the SIDs of the user groups that the current logged-on user belongs to. If the method fails, it returns null.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public static string[] GetCurrentLoggedOnUserGroupsSid()
public:
static array<String^>^ GetCurrentLoggedOnUserGroupsSid()
Public Shared Function GetCurrentLoggedOnUserGroupsSid As String()

Return Value

Type: System.String[]

Collection of strings.

See Also

UserHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top