SPUser.Sid Property

Gets the unique security ID for the network account of the user.

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

Syntax

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

value = instance.Sid
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public string Sid { get; }

Property Value

Type: System.String
A string that contains the unique security ID.

See Also

Reference

SPUser Class

SPUser Members

Microsoft.SharePoint Namespace