| DefaultPolicyEnforcementServiceDemand Method (String, IPrincipal) |
Demand policy enforcement
Namespace:
SanteDB.Core.Security
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
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.Core.Security.DefaultPolicyEnforcementService.Demand(System.String,System.Security.Principal.IPrincipal)"]
- principal
- Type: System.Security.PrincipalIPrincipal
[Missing <param name="principal"/> documentation for "M:SanteDB.Core.Security.DefaultPolicyEnforcementService.Demand(System.String,System.Security.Principal.IPrincipal)"]
Implements
IPolicyEnforcementServiceDemand(String, IPrincipal)See Also