Click or drag to resize
Galactic API

SimpleMappingRoleProviderIsUserInRole Method

Gets a value indicating whether the specified user is in the specified role 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 IsUserInRole(
	string username,
	string roleName
)

Parameters

username
Type: SystemString
The user name to search for.
roleName
Type: SystemString
The role to search in.

Return Value

Type: Boolean
true if the specified user is in the specified role for the configured applicationName; otherwise, false.
See Also