Get the id for a user, by windows identity

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

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

Parameters

identity
Type: string

the identity of the user

server_id
Type: ServerID

the id of the server

db
Type: IDatabase

the database connection

Return Value

Type: EntityID

.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