WindowsTokenRoleProvider.RemoveUsersFromRoles(String[], String[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method is not supported by the Windows token role provider.
public:
override void RemoveUsersFromRoles(cli::array <System::String ^> ^ usernames, cli::array <System::String ^> ^ roleNames);
public override void RemoveUsersFromRoles (string[] usernames, string[] roleNames);
override this.RemoveUsersFromRoles : string[] * string[] -> unit
Public Overrides Sub RemoveUsersFromRoles (usernames As String(), roleNames As String())
Parameters
- usernames
- String[]
A string array of user names to be added to the specified roles.
- roleNames
- String[]
A string array of role names to add the specified user names to.
Exceptions
An unsupported method was called.
Remarks
This method is not supported by the WindowsTokenRoleProvider class and always throws a ProviderException.
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.