SPUtility.GetBinaryUserId Method

Returns the binary identifier of the membership account.

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

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Shared Function GetBinaryUserId ( _
    fullName As String _
) As Byte()
'Usage
Dim fullName As String
Dim returnValue As Byte()

returnValue = SPUtility.GetBinaryUserId(fullName)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public static byte[] GetBinaryUserId(
    string fullName
)

Parameters

  • fullName
    Type: System.String

    Membership account name in the format “ProviderName:UserName”.

Return Value

Type: []
Returns Byte.

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace