Condividi tramite


SPUser.RawSid Property

Gets the system ID of the user in binary format.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public ReadOnly Property RawSid As Byte()
    Get
'Usage
Dim instance As SPUser
Dim value As Byte()

value = instance.RawSid
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
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