BCRoleBasedSecuredObjectUserHasPrivilege Method |
Determines whether the user has a privilege 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 UserHasPrivilege(
string userName,
string privilegeName
)
Public Function UserHasPrivilege (
userName As String,
privilegeName As String
) As Boolean
Parameters
- userName
- Type: SystemString
The name of the user. - privilegeName
- Type: SystemString
The name of the privilege to check.
Return Value
Type:
Boolean
A value indicating whether the current user has a privilege with the specified name.
See Also