Click or drag to resize
BCRoleBasedSecuredObjectUserHasRole Method
Determines whether the user has a role with the specified name.

Namespace: BlueCieloECM.InnoCielo.Meridian.Server
Assembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 4.0.0.0 (4.0.19.0)
Syntax
public bool UserHasRole(
	string userName,
	string roleName
)

Parameters

userName
Type: SystemString
The name of the user.
roleName
Type: SystemString
The name of the role to check.

Return Value

Type: Boolean
A value indicating whether the user has a role with the specified name.
See Also