Determine if given role exists

Namespace: MonoSoftware.MonoX
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public override bool RoleExists(
	string rolename
)
Visual Basic
Public Overrides Function RoleExists ( 
	rolename As String
) As Boolean
Visual C++
public:
virtual bool RoleExists(
	String^ rolename
) override
F#
abstract RoleExists : 
        rolename : string -> bool 
override RoleExists : 
        rolename : string -> bool 

Parameters

rolename
Type: System..::..String
Role to check

Return Value

Type: Boolean
Boolean indicating existence of role

See Also