WindowsTokenRoleProvider.RoleExists(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 bool RoleExists(System::String ^ roleName);
public override bool RoleExists (string roleName);
override this.RoleExists : string -> bool
Public Overrides Function RoleExists (roleName As String) As Boolean
Parameters
- roleName
- String
The name of the role to search for in the data source.
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.