SPClaimsAuthRoleProvider.CreateRole method
Adds a new role to the data source for the application represented by the ApplicationName property.
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Sub CreateRole ( _
roleName As String _
)
'Usage
Dim instance As SPClaimsAuthRoleProvider
Dim roleName As String
instance.CreateRole(roleName)
public override void CreateRole(
string roleName
)
Parameters
roleName
Type: System.StringThe name of the role to create.
Remarks
This override adds the specified role in the claims-based role provider that is not an SPClaimsAuthRoleProvider and is used by the current application.
See also
Reference
SPClaimsAuthRoleProvider class