Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the list of users in the specified role for the application represented by the ApplicationName property.
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Function GetUsersInRole ( _
roleName As String _
) As String()
'Usage
Dim instance As SPClaimsAuthRoleProvider
Dim roleName As String
Dim returnValue As String()
returnValue = instance.GetUsersInRole(roleName)
public override string[] GetUsersInRole(
string roleName
)
Parameters
roleName
Type: System.StringThe role name from which the users are retrieved.
Return Value
Type: []
The list of users in the specified role.
Remarks
This override gets the list of users in the claims-based role provider that is not an SPClaimsAuthRoleProvider and is used by the current application.
See Also
Reference
SPClaimsAuthRoleProvider Class