| ApplicationContextDemand Method (String, IPrincipal) |
Demand policy enforcement
Namespace:
SanteDB.DisconnectedClient
Assembly:
SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax public void Demand(
string policyId,
IPrincipal principal
)
Public Sub Demand (
policyId As String,
principal As IPrincipal
)
public:
virtual void Demand(
String^ policyId,
IPrincipal^ principal
) sealed
abstract Demand :
policyId : string *
principal : IPrincipal -> unit
override Demand :
policyId : string *
principal : IPrincipal -> unit
Parameters
- policyId
- Type: SystemString
[Missing <param name="policyId"/> documentation for "M:SanteDB.DisconnectedClient.ApplicationContext.Demand(System.String,System.Security.Principal.IPrincipal)"]
- principal
- Type: System.Security.PrincipalIPrincipal
[Missing <param name="principal"/> documentation for "M:SanteDB.DisconnectedClient.ApplicationContext.Demand(System.String,System.Security.Principal.IPrincipal)"]
Implements
IPolicyEnforcementServiceDemand(String, IPrincipal)See Also