Click or drag to resize

UpstreamDeviceIdentityProviderCreateIdentity 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 IDeviceIdentity CreateIdentity(
	string deviceName,
	string secret,
	IPrincipal principal,
	Guid? withSid = null
)

Parameters

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

Return Value

IDeviceIdentity
The created identity

Implements

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