Click or drag to resize
Galactic API

SimpleActiveDirectoryRoleProviderRoleExists Method

Gets a value indicating whether the specified role name already exists in the role data source for the configured applicationName.

Namespace:  Galactic.Web.Security.SimpleActiveDirectory
Assembly:  Galactic.Web.Security.SimpleActiveDirectory (in Galactic.Web.Security.SimpleActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public override bool RoleExists(
	string roleName
)

Parameters

roleName
Type: SystemString
The name of the role to search for in the data source.

Return Value

Type: Boolean
true if the role name already exists in the data source for the configured applicationName; otherwise, false.
See Also