Share via


SPUser.RawSid property

Gets the system ID of the user in binary format.

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

Syntax

'Declaration
Public ReadOnly Property RawSid As Byte()
    Get
'Usage
Dim instance As SPUser
Dim value As Byte()

value = instance.RawSid
public byte[] RawSid { get; }

Property value

Type: []
A byte array that contains the system ID of the user.

Remarks

The RawSid property returns a null reference (Nothing in Visual Basic) if the user account is not a Microsoft Windows account.

See also

Reference

SPUser class

SPUser members

Microsoft.SharePoint namespace