BCRoleBasedSecuredObjectUserHasRole Method |
Determines whether the user has a role with the specified name.
Namespace: BlueCieloECM.InnoCielo.Meridian.ServerAssembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 4.0.0.0 (4.0.19.0)
Syntaxpublic bool UserHasRole(
string userName,
string roleName
)
Public Function UserHasRole (
userName As String,
roleName As String
) As Boolean
public:
bool UserHasRole(
String^ userName,
String^ roleName
)
member UserHasRole :
userName : string *
roleName : string -> bool
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