Click or drag to resize
Galactic API

SimpleActiveDirectoryRoleProviderIsUserInRole Method

Gets a value indicating whether the specified user is in the specified role 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 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