C-DEngine 5.105

TheUserManager..::..HasUserAccess Method (Guid, Int32, String)

Returns true if the given user has either permission to a given ACL or the Required Permission given

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

Syntax


public static bool HasUserAccess(
	Guid pCurrentUserID,
	int ACL,
	string requiredPermission
)
Public Shared Function HasUserAccess ( _
	pCurrentUserID As Guid, _
	ACL As Integer, _
	requiredPermission As String _
) As Boolean
public:
static bool^ HasUserAccess(
	Guid^ pCurrentUserID, 
	int^ ACL, 
	String^ requiredPermission
)

Parameters

pCurrentUserID
Type: Guid
User to check for
ACL
Type: Int32
Accesslevel
requiredPermission
Type: String
Required Permission

Return Value