This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.