共用方式為


UserHelpers.GetUserSid Method (WindowsIdentity)

 

Gets the user SID for a token to a user context.

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

Syntax

public static string GetUserSid(
    WindowsIdentity identity
)
public:
static String^ GetUserSid(
    WindowsIdentity^ identity
)
Public Shared Function GetUserSid (
    identity As WindowsIdentity
) As String

Parameters

Return Value

Type: System.String

See Also

UserHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top