Open this page in the API Guide

Session.DemandPrivilege 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 (25.1.0.1000)
Syntax
public void DemandPrivilege(
	Guid applicationPrivilegeId
)

Parameters

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