Click or drag to resize

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
)

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