Open this page in the API Guide

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

Parameters

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