Click or drag to resize
GnomonRoleProviderIsUserInRole Method
Gets a value indicating whether the specified user is in the specified role for the configured applicationName.

Namespace: RMP.Web
Assembly: RMP.Web (in RMP.Web.dll) Version: 1.0.0.0 (1.0.0.0)
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