 | UpstreamIdentityProviderCreateIdentity Method |
Create a basic identity in the provider
Namespace: SanteDB.Client.Upstream.SecurityAssembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntaxpublic IIdentity CreateIdentity(
string userName,
string password,
IPrincipal principal,
Guid? withSid = null
)
Public Function CreateIdentity (
userName As String,
password As String,
principal As IPrincipal,
Optional withSid As Guid? = Nothing
) As IIdentity
public:
virtual IIdentity^ CreateIdentity(
String^ userName,
String^ password,
IPrincipal^ principal,
Nullable<Guid> withSid = nullptr
) sealed
abstract CreateIdentity :
userName : string *
password : string *
principal : IPrincipal *
?withSid : Nullable<Guid>
(* Defaults:
let _withSid = defaultArg withSid null
*)
-> IIdentity
override CreateIdentity :
userName : string *
password : string *
principal : IPrincipal *
?withSid : Nullable<Guid>
(* Defaults:
let _withSid = defaultArg withSid null
*)
-> IIdentity 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
IIdentityThe created identity
Implements
IIdentityProviderServiceCreateIdentity(String, String, IPrincipal, NullableGuid)
See Also