Partilhar via


SPUser.GetBinaryId Method

Returns 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 Function GetBinaryId As Byte()
'Usage
Dim instance As SPUser
Dim returnValue As Byte()

returnValue = instance.GetBinaryId()
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public byte[] GetBinaryId()

Return Value

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

See Also

Reference

SPUser Class

SPUser Members

Microsoft.SharePoint Namespace