SPClaimsAuthRoleProvider 成员

定义ASP.NET基于声明的角色提供程序集成到基于声明的身份验证上下文。

SPClaimsAuthRoleProvider 类型公开以下成员。

构造函数

  名称 说明
公共方法 SPClaimsAuthRoleProvider SPClaimsAuthRoleProvider类的新实例进行初始化。

页首

属性

  名称 说明
公共属性 ApplicationName 获取或设置用于信息存储或检索应用程序的名称。 (覆盖 RoleProvider.ApplicationName。)
公共属性 Description (从 ProviderBase 继承。)
公共属性 Name 获取应用程序的名称。 (覆盖 ProviderBase.Name。)

页首

方法

  名称 说明
公共方法 AddUsersToRoles 将指定的用户名添加到由ApplicationName属性表示应用程序中指定的角色。 (覆盖 RoleProvider.AddUsersToRoles([], [])。)
公共方法 CreateRole 将新的角色添加到由ApplicationName属性表示该应用程序的数据源。 (覆盖 RoleProvider.CreateRole(String)。)
公共方法 DeleteRole ApplicationName属性表示该应用程序的数据源中删除角色。 (覆盖 RoleProvider.DeleteRole(String, Boolean)。)
公共方法 Equals (从 Object 继承。)
受保护的方法 Finalize (从 Object 继承。)
公共方法 FindUsersInRole 获取指定角色的用户名与指定的用户名相匹配的用户的名称的数组。 (覆盖 RoleProvider.FindUsersInRole(String, String)。)
公共方法 GetAllRoles 获取表示ApplicationName属性的应用程序的角色的列表。 (覆盖 RoleProvider.GetAllRoles()。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetRolesForUser 获取由ApplicationName属性表示应用程序中包括指定的用户的角色名称的列表。 (覆盖 RoleProvider.GetRolesForUser(String)。)
公共方法 GetType (从 Object 继承。)
公共方法 GetUsersInRole(String) 获取应用程序由ApplicationName属性指定的角色中的用户的列表。 (覆盖 RoleProvider.GetUsersInRole(String)。)
公共方法 GetUsersInRole(SPWeb, String, Int32, Boolean) 获取应用程序由ApplicationName属性指定的角色中的用户列表。
公共方法 Initialize 初始化具有指定名称的应用程序。 (覆盖 ProviderBase.Initialize(String, NameValueCollection)。)
公共方法 IsUserInRole 确定指定的用户是否是指定角色的成员。 (覆盖 RoleProvider.IsUserInRole(String, String)。)
受保护的方法 MemberwiseClone (从 Object 继承。)
公共方法 RemoveUsersFromRoles ApplicationName属性表示应用程序中指定的角色中删除指定的用户。 (覆盖 RoleProvider.RemoveUsersFromRoles([], [])。)
公共方法 RoleExists 此成员仅供内部使用,不能直接在您的代码中使用。 (覆盖 RoleProvider.RoleExists(String)。)
公共方法 ToString (从 Object 继承。)

页首

另请参阅

引用

SPClaimsAuthRoleProvider 类

Microsoft.SharePoint.Administration.Claims 命名空间