IFileSystemServiceCallerHasPrivilege Method

Check if the caller has the object privilege specified by objectPrivilegeId.

Namespace:  Dundas.BI.FileSystem
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
bool CallerHasPrivilege(
	Guid entryId,
	Guid objectPrivilegeId
)

Parameters

entryId
Type: SystemGuid
ID of the entry.
objectPrivilegeId
Type: SystemGuid
ID of object privilege.

Return Value

Type: Boolean
if the caller has the privilege, otherwise .
Exceptions
ExceptionCondition
ArgumentExceptionentryId is Empty. -or- objectPrivilegeId is Empty.
NotFoundExceptionThe entry does not exist.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also