Expand Minimize
This topic has not yet been rated - Rate this topic

SPUtility.TryGetStringFromBinaryUserId Method

Tries to extract a string from the binary user identifier and returns it.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public static string TryGetStringFromBinaryUserId(
	byte[] binaryUserId,
	out Exception ex
)

Parameters

binaryUserId
Type: System.Byte[]
A binary equivalent of the user identifier, usually obtained from GetBinaryUserId(String).
ex
Type: System.Exception%
When this method returns, contains an Exception if any errors were encountered while getting the string.

Return Value

Type: System.String
A string that contains the extracted user identifier string.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.