Get some basic information about a user

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

Public Shared Function GetUserInfo( _ 
ByVal user_id As EntityID, _ 
ByVal retrieve_attributes As Boolean, _ 
ByVal db As IDatabase
) As UserInfo
This language is not supported or no code example is available.
public static UserInfo GetUserInfo( 
EntityID user_id
bool retrieve_attributes
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static UserInfo^ GetUserInfo( 
EntityID^ user_id
bool retrieve_attributes
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function GetUserInfo( 
user_id : EntityID
retrieve_attributes : boolean
db : IDatabase 
) : UserInfo;
This language is not supported or no code example is available.

Parameters

user_id
Type: EntityID

the id of the user

retrieve_attributes
Type: bool

should we retrieve attributes?

db
Type: IDatabase

the db connection

Return Value

Type: UserInfo

the user info

.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