User.GetUserInfo Method

Get some basic information about a user
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
EntityID

the id of the user

retrieve_attributes
bool

should we retrieve attributes?

db
IDatabase

the db connection

Return Value

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

In this article

Definition