Click or drag to resize

SQLiteIdentityServiceCreateIdentity Method (SecurityUser, String, IPrincipal)

Creates the identity.

Namespace:  SanteDB.DisconnectedClient.SQLite.Security
Assembly:  SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax
public IIdentity CreateIdentity(
	SecurityUser securityUser,
	string password,
	IPrincipal principal
)

Parameters

securityUser
Type: SanteDB.Core.Model.SecuritySecurityUser
The security user.
password
Type: SystemString
The password.
principal
Type: System.Security.PrincipalIPrincipal
The principal.

Return Value

Type: IIdentity
Returns the created user identity.
Exceptions
ExceptionCondition
PolicyViolationException
See Also