Share via


SPUser.SystemUserKey property

Gets the configuration-specific user key.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property SystemUserKey As String
    Get
'Usage
Dim instance As SPUser
Dim value As String

value = instance.SystemUserKey
public string SystemUserKey { get; }

Property value

Type: System.String
The configuration-specific user key.

Remarks

In Windows authentication, it's the user's SID. Otherwise, it's the full encoded user key.

See also

Reference

SPUser class

SPUser members

Microsoft.SharePoint namespace