Determines whether the user has a role with the specified name.

Namespace: BlueCieloECM.InnoCielo.Meridian.Scripting
Assembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 1.4.0.0 (1.4.40.0)

Syntax

C#
public bool HasRole(
	string name
)
Visual Basic
Public Function HasRole ( _
	name As String _
) As Boolean
Visual C++
public:
bool HasRole(
	String^ name
)

Parameters

name
Type: System..::..String
The name of the role.

Return Value

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

See Also