Open this page in the API Guide

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

Parameters

entryId
Type: System.Guid
ID of the entry.
objectPrivilegeId
Type: System.Guid
ID of object privilege.

Return Value

Type: Boolean
true if the caller has the privilege, otherwise false.
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