Click or drag to resize

IIdentityProviderServiceCreateIdentity Method

Create a basic identity in the provider

Namespace:  SanteDB.Core.Security.Services
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
IIdentity CreateIdentity(
	string userName,
	string password,
	IPrincipal principal
)

Parameters

userName
Type: SystemString
The username of the identity
password
Type: SystemString
The intitial password of the identity
principal
Type: System.Security.PrincipalIPrincipal
The principal that was created

Return Value

Type: IIdentity
The created identity
See Also