A Sandcastle Documented Class Library

# 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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    bool CallerHasPrivilege(
    	Guid entryId,
    	Guid objectPrivilegeId
    )

    Function CallerHasPrivilege (
    	entryId As Guid,
    	objectPrivilegeId As Guid
    ) As Boolean

    bool CallerHasPrivilege(
    	Guid entryId,
    	Guid objectPrivilegeId
    )

    abstract CallerHasPrivilege :
            entryId : Guid *
            objectPrivilegeId : Guid -> bool

#### Parameters

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

#### Return Value

Type: Boolean
if the caller has the privilege, otherwise
.
Exceptions

Exception | Condition
--- | ---
ArgumentException | entryId is Empty. -or- objectPrivilegeId is Empty.
NotFoundException | The entry does not exist.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IFileSystemService Interface
Dundas.BI.FileSystem Namespace
Dundas.BI.FileSystem
ObjectPrivilegeIds