Click or drag to resize

IAppContextHasPermission Method

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

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

Parameters

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