Click or drag to resize

UserContextHasPermission Method

Returns true if the specified object "has" the permission. If the object has no assigned permisions, the return value is true.

Namespace:  NetQuarry.Security
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public bool HasPermission(
	IAppContext appCxt,
	string objectID,
	string objectType,
	ObjectPermissions permission
)

Parameters

appCxt
Type: NetQuarryIAppContext
The application context object.
objectID
Type: SystemString
The object ID
objectType
Type: SystemString
The type of object
permission
Type: NetQuarryObjectPermissions
The permission to check

Return Value

Type: Boolean
True if the object has the permission, false otherwise
See Also