WindowsTokenRoleProvider.GetUsersInRole(String) 方法
定义
Windows 标记角色提供程序不支持此方法。This method is not supported by the Windows token role provider.
public:
override cli::array <System::String ^> ^ GetUsersInRole(System::String ^ roleName);
public override string[] GetUsersInRole (string roleName);
override this.GetUsersInRole : string -> string[]
Public Overrides Function GetUsersInRole (roleName As String) As String()
参数
- roleName
- String
要获取其用户列表的角色的名称。The name of the role to get the list of users for.
返回
- String[]
无。None. WindowsTokenRoleProvider 类不支持该方法,该方法始终引发 ProviderException。The method is not supported by the WindowsTokenRoleProvider class and always throws a ProviderException.
例外
调用了不受支持的方法。An unsupported method was called.