Click or drag to resize
Galactic API

SimpleMappingRoleProviderRoleExists 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.SimpleMapping
Assembly:  Galactic.Web.Security.SimpleMapping (in Galactic.Web.Security.SimpleMapping.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