| 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
)
Function CreateIdentity (
userName As String,
password As String,
principal As IPrincipal
) As IIdentity
IIdentity^ CreateIdentity(
String^ userName,
String^ password,
IPrincipal^ principal
)
abstract CreateIdentity :
userName : string *
password : string *
principal : IPrincipal -> IIdentity
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:
IIdentityThe created identity
See Also