SessionHasPrivilege Method

Determines whether the session has the specified application privilege.

Namespace:  Dundas.BI.AccountServices
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public virtual bool HasPrivilege(
	Guid applicationPrivilegeId
)

Parameters

applicationPrivilegeId
Type: SystemGuid
Application privilege ID.

Return Value

Type: Boolean
if the session has the specified privilege; otherwise, .
Exceptions
ExceptionCondition
ArgumentExceptionapplicationPrivilegeId is Empty.
See Also