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 IsPrivilegeGrantedToUser(
	string privilegeName,
	string userName
)
Visual Basic
Public Function IsPrivilegeGrantedToUser ( _
	privilegeName As String, _
	userName As String _
) As Boolean
Visual C++
public:
bool IsPrivilegeGrantedToUser(
	String^ privilegeName, 
	String^ userName
)

Parameters

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

Return Value

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

See Also