IFileSystemServiceDemandCallerPrivilege Method

Require the caller to have the privilege specified by objectPrivilegeId.

Namespace:  Dundas.BI.FileSystem
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
void DemandCallerPrivilege(
	Guid entryId,
	Guid objectPrivilegeId
)

Parameters

entryId
Type: SystemGuid
ID of the entry.
objectPrivilegeId
Type: SystemGuid
ID of object privilege.
Exceptions
ExceptionCondition
ArgumentExceptionentryId is Empty. -or- objectPrivilegeId is Empty.
NotFoundExceptionThe entry does not exist.
NoPrivilegeExceptionThe caller does not have the privilege being demanded.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also