WindowsTokenRoleProvider.DeleteRole(String, Boolean) 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 bool DeleteRole(System::String ^ roleName, bool throwOnPopulatedRole);
public override bool DeleteRole (string roleName, bool throwOnPopulatedRole);
override this.DeleteRole : string * bool -> bool
Public Overrides Function DeleteRole (roleName As String, throwOnPopulatedRole As Boolean) As Boolean
Parameters
- roleName
- String
The name of the role to delete.
- throwOnPopulatedRole
- Boolean
If true
, an exception will be thrown on an attempt to delete a role that contains one or more members.
Returns
None. The method is not supported by the WindowsTokenRoleProvider class and always throws a ProviderException.
Exceptions
An unsupported method was called.
Applies to
See also
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.