SPPermission.ToString Method
NOTE: This API is now obsolete.
Returns the member ID of the user or group for the permission object.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("Use the SPRoleAssignment class instead")> _
Public Overrides Function ToString As String
'Usage
Dim instance As SPPermission
Dim returnValue As String
returnValue = instance.ToString()
[ObsoleteAttribute("Use the SPRoleAssignment class instead")]
public override string ToString()
Return Value
Type: System.String
A string that contains the member ID.
Remarks
The ToString method returns a value that corresponds to the unique member ID for the user or group associated with the permission, which is contained in the ID property of the SPMember class.