UserHelpers.CurrentLoggedOnUserSid Property

 

Get the SID for the current logged-on user. If it fails, the property returns null.

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

Syntax

public static string CurrentLoggedOnUserSid { get; }
public:
property String^ CurrentLoggedOnUserSid {
    static String^ get();
}
Public Shared ReadOnly Property CurrentLoggedOnUserSid As String

Property Value

Type: System.String

SID of current logged-on user or null if it cannot be resolved.

See Also

UserHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top