| LocalSecurityRepositorySetUserRoles Method |
Set the user's roles to only those in the roles array
Namespace:
SanteDB.DisconnectedClient.Services.Local
Assembly:
SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax public void SetUserRoles(
SecurityUser user,
string[] roles
)
Public Sub SetUserRoles (
user As SecurityUser,
roles As String()
)
public:
void SetUserRoles(
SecurityUser^ user,
array<String^>^ roles
)
member SetUserRoles :
user : SecurityUser *
roles : string[] -> unit
Parameters
- user
- Type: SanteDB.Core.Model.SecuritySecurityUser
[Missing <param name="user"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.LocalSecurityRepository.SetUserRoles(SanteDB.Core.Model.Security.SecurityUser,System.String[])"]
- roles
- Type: SystemString
[Missing <param name="roles"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.LocalSecurityRepository.SetUserRoles(SanteDB.Core.Model.Security.SecurityUser,System.String[])"]
See Also