Click or drag to resize

AdoIdentityProviderCreateIdentity Method

Create a security identity for the specified

Namespace: SanteDB.Persistence.Data.Services
Assembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public IIdentity CreateIdentity(
	string userName,
	string password,
	IPrincipal principal,
	Guid? withSid = null
)

Parameters

userName  String
The name of the user identity which is to be created
password  String
The initial password to set for the principal
principal  IPrincipal
The principal which is creating the identity
withSid  NullableGuid  (Optional)

[Missing <param name="withSid"/> documentation for "M:SanteDB.Persistence.Data.Services.AdoIdentityProvider.CreateIdentity(System.String,System.String,System.Security.Principal.IPrincipal,System.Nullable{System.Guid})"]

Return Value

IIdentity
The created identity

Implements

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