Click or drag to resize

UpstreamIdentityProviderCreateIdentity Method

Create a basic identity in the provider

Namespace: SanteDB.Client.Upstream.Security
Assembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntax
public IIdentity CreateIdentity(
	string userName,
	string password,
	IPrincipal principal,
	Guid? withSid = null
)

Parameters

userName  String
The username of the identity
password  String
The intitial password of the identity
principal  IPrincipal
The principal that was created
withSid  NullableGuid  (Optional)
When supplied, the security identifier to be assigned to the identity

Return Value

IIdentity
The created identity

Implements

IIdentityProviderServiceCreateIdentity(String, String, IPrincipal, NullableGuid)
See Also