| IPolicyInformationServiceAddPolicies Method |
Adds the specified policies to the specified securable object
Namespace:
SanteDB.Core.Security.Services
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax void AddPolicies(
Object securable,
PolicyGrantType rule,
IPrincipal principal,
params string[] policyOids
)
Sub AddPolicies (
securable As Object,
rule As PolicyGrantType,
principal As IPrincipal,
ParamArray policyOids As String()
)
void AddPolicies(
Object^ securable,
PolicyGrantType rule,
IPrincipal^ principal,
... array<String^>^ policyOids
)
abstract AddPolicies :
securable : Object *
rule : PolicyGrantType *
principal : IPrincipal *
policyOids : string[] -> unit
Parameters
- securable
- Type: SystemObject
The object to which policies should be added - rule
- Type: SanteDB.Core.Model.SecurityPolicyGrantType
The rule to be applied to the securable - principal
- Type: System.Security.PrincipalIPrincipal
The principal which is adding policies ot the securable - policyOids
- Type: SystemString
The oids of the policies to add
See Also