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 (26.2.0.1000)
Syntax
void DemandCallerPrivilege(
	Guid entryId,
	Guid objectPrivilegeId
)

Parameters

entryId  Guid
ID of the entry.
objectPrivilegeId  Guid
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