| IPolicyEnforcementServiceDemand Method (String, IPrincipal) |
Demand access to the policy on behalf of principal
Namespace:
SanteDB.Core.Security.Services
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax void Demand(
string policyId,
IPrincipal principal
)
Sub Demand (
policyId As String,
principal As IPrincipal
)
void Demand(
String^ policyId,
IPrincipal^ principal
)
abstract Demand :
policyId : string *
principal : IPrincipal -> unit
Parameters
- policyId
- Type: SystemString
The identifier OID of the policy for which permission is being demanded - principal
- Type: System.Security.PrincipalIPrincipal
The principal for which permission is being demanded
Exceptions See Also