| SQLiteRoleProviderServiceAddPoliciesToRoles Method |
Add specified roles to the specified groups
Namespace:
SanteDB.DisconnectedClient.SQLite.Security
Assembly:
SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax public void AddPoliciesToRoles(
IPolicyInstance[] policyInstance,
string[] roles,
IPrincipal principal = null
)
Public Sub AddPoliciesToRoles (
policyInstance As IPolicyInstance(),
roles As String(),
Optional principal As IPrincipal = Nothing
)
public:
virtual void AddPoliciesToRoles(
array<IPolicyInstance^>^ policyInstance,
array<String^>^ roles,
IPrincipal^ principal = nullptr
) sealed
abstract AddPoliciesToRoles :
policyInstance : IPolicyInstance[] *
roles : string[] *
?principal : IPrincipal
(* Defaults:
let _principal = defaultArg principal null
*)
-> unit
override AddPoliciesToRoles :
policyInstance : IPolicyInstance[] *
roles : string[] *
?principal : IPrincipal
(* Defaults:
let _principal = defaultArg principal null
*)
-> unit
Parameters
- policyInstance
- Type: SanteDB.Core.SecurityIPolicyInstance
[Missing <param name="policyInstance"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Security.SQLiteRoleProviderService.AddPoliciesToRoles(SanteDB.Core.Security.IPolicyInstance[],System.String[],System.Security.Principal.IPrincipal)"]
- roles
- Type: SystemString
[Missing <param name="roles"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Security.SQLiteRoleProviderService.AddPoliciesToRoles(SanteDB.Core.Security.IPolicyInstance[],System.String[],System.Security.Principal.IPrincipal)"]
- principal (Optional)
- Type: System.Security.PrincipalIPrincipal
[Missing <param name="principal"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Security.SQLiteRoleProviderService.AddPoliciesToRoles(SanteDB.Core.Security.IPolicyInstance[],System.String[],System.Security.Principal.IPrincipal)"]
Implements
IOfflineRoleProviderServiceAddPoliciesToRoles(IPolicyInstance, String, IPrincipal)See Also