| IPolicyEnforcementServiceSoftDemand Method |
Demand the specified policy and return the result
Namespace:
SanteDB.Core.Security.Services
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax bool SoftDemand(
string policyId,
IPrincipal principal
)
Function SoftDemand (
policyId As String,
principal As IPrincipal
) As Boolean
bool SoftDemand(
String^ policyId,
IPrincipal^ principal
)
abstract SoftDemand :
policyId : string *
principal : IPrincipal -> bool
Parameters
- policyId
- Type: SystemString
The policy OID for which the demand is occurring - principal
- Type: System.Security.PrincipalIPrincipal
The principal for which the policy should be demanded
Return Value
Type:
BooleanTrue if
principal demand for
policyId succeeded
Remarks See Also