Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPClaim.ToEncodedString method

Encodes the value of the current claim object into a string.

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public string ToEncodedString()

Return value

Type: System.String
Returns the String representation of the value of the current claim object.

The result of this method can be used in other areas of the SharePoint object model where a string-based login name is expected.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft