Create a user from a given contact

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function CreateUser( _ 
ByVal contact_id As EntityID, _ 
ByVal identity As String, _ 
ByVal db As IDatabase
) As EntityID
This language is not supported or no code example is available.
public static EntityID CreateUser( 
EntityID contact_id
string identity
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ CreateUser( 
EntityID^ contact_id
String^ identity
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function CreateUser( 
contact_id : EntityID
identity : String
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

contact_id
Type: EntityID

the id of the contact

identity
Type: string

the identity / login name

db
Type: IDatabase

the db connect

Return Value

Type: EntityID

the id of the created user (always the same as the contact)

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1