SessionDemandPrivilege Method

Requires that the specified application privilege is granted to the session.

Namespace:  Dundas.BI.AccountServices
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public void DemandPrivilege(
	Guid applicationPrivilegeId
)

Parameters

applicationPrivilegeId
Type: SystemGuid
Application privilege ID.
Exceptions
ExceptionCondition
ArgumentExceptionapplicationPrivilegeId is Empty.
NoPrivilegeExceptionThe session does not have the privilege being demanded.
See Also