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.111.0)
Syntax public bool UserHasRole(
string userName,
string roleName
)
Public Function UserHasRole (
userName As String,
roleName As String
) As Boolean
Parameters
- userName
- Type: SystemString
The name of the user. - roleName
- Type: SystemString
The name of the role to check.
Return Value
Type:
BooleanA value indicating whether the user has a role with the specified name.
See Also