Click or drag to resize
Galactic API

ActiveDirectoryRoleProviderIsUserInRole Method

Gets a value indicating whether the specified user is in the specified role for the configured applicationName.

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