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: 1.4.0.0 (1.4.40.0)

Syntax

C#
public bool UserHasPrivilege(
	string userName,
	string privilegeName
)
Visual Basic
Public Function UserHasPrivilege ( _
	userName As String, _
	privilegeName As String _
) As Boolean
Visual C++
public:
bool UserHasPrivilege(
	String^ userName, 
	String^ privilegeName
)

Parameters

userName
Type: System..::..String
The name of the user.
privilegeName
Type: System..::..String
The name of the privilege to check.

Return Value

A value indicating whether the current user has a privilege with the specified name.

See Also