C-DEngine 5.105

TheUserManager..::..HasUserPermission Method

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

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

Syntax


public static bool HasUserPermission(
	Guid pUser,
	string requiredPermission
)
Public Shared Function HasUserPermission ( _
	pUser As Guid, _
	requiredPermission As String _
) As Boolean
public:
static bool^ HasUserPermission(
	Guid^ pUser, 
	String^ requiredPermission
)

Parameters

pUser
Type: Guid
User to check for
requiredPermission
Type: String
Required Permission

Return Value