C-DEngine 5.105

TheUserManager..::..IsCurrentUserRole Method

Returns true if the current user has the given role (VIEWER ONLY)

Namespace:  nsCDEngine.Security
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static bool IsCurrentUserRole(
	string pRole
)
Public Shared Function IsCurrentUserRole ( _
	pRole As String _
) As Boolean
public:
static bool^ IsCurrentUserRole(
	String^ pRole
)

Parameters

pRole
Type: String
Role Name to check for

Return Value