Partilhar via


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

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

SPClaimsAuthRoleProvider Members

Microsoft.SharePoint.Administration.Claims Namespace