WebWorkflowRole.GetIdentities 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回与 WebWorkflowRole 关联的 ASP.NET 帐户的泛型列表。
public:
override System::Collections::Generic::IList<System::String ^> ^ GetIdentities();
public override System.Collections.Generic.IList<string> GetIdentities();
override this.GetIdentities : unit -> System.Collections.Generic.IList<string>
Public Overrides Function GetIdentities () As IList(Of String)
返回
表示与 WebWorkflowRole 关联的 ASP.NET 帐户的字符串值的泛型列表。
注解
WindowsTokenRoleProvider 仅 IsUserInRole 支持和 GetRolesForUser。 此外,它仅支持当前与请求上下文关联的用户帐户的这些方法,因此不能调用 GetRolesForUser 域中的任何用户帐户。 将
配置的角色提供程序(WindowsTokenRoleProvider)依赖于Windows 身份验证来确定允许用户成为其成员的组。 ASP.NET 角色管理器不能用于管理Windows用户和组。 如果要支持自定义用户/角色分配,请使用 SQLRoleProvider。