SPClaimsAuthRoleProvider.GetAllRoles 方法

获取表示ApplicationName属性的应用程序的角色的列表。

命名空间:  Microsoft.SharePoint.Administration.Claims
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Overrides Function GetAllRoles As String()
用法
Dim instance As SPClaimsAuthRoleProvider
Dim returnValue As String()

returnValue = instance.GetAllRoles()
public override string[] GetAllRoles()

返回值

类型:[]
角色的名称。

备注

此重写的基于声明的角色提供程序不是SPClaimsAuthRoleProvider ,由当前应用程序中获取的角色的名称。

另请参阅

引用

SPClaimsAuthRoleProvider 类

SPClaimsAuthRoleProvider 成员

Microsoft.SharePoint.Administration.Claims 命名空间