SPFormsClaimProvider.CreateRoleClaim method
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function CreateRoleClaim ( _
role As String _
) As SPClaim
'Usage
Dim role As String
Dim returnValue As SPClaim
returnValue = SPFormsClaimProvider.CreateRoleClaim(role)
public static SPClaim CreateRoleClaim(
string role
)
Parameters
- role
Type: System.String
Return value
Type: Microsoft.SharePoint.Administration.Claims.SPClaim
Returns SPClaim.