| 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
)
Public Function CreateIdentity (
securityUser As SecurityUser,
password As String,
principal As IPrincipal
) As IIdentity
public:
IIdentity^ CreateIdentity(
SecurityUser^ securityUser,
String^ password,
IPrincipal^ principal
)
member CreateIdentity :
securityUser : SecurityUser *
password : string *
principal : IPrincipal -> IIdentity
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:
IIdentityReturns the created user identity.
Exceptions See Also