QPR Knowledge Base

GetUserId

Hide Navigation Pane

GetUserId

Previous topic Next topic No expanding text in this topic  

GetUserId

Previous topic Next topic JavaScript is required for expanding text Mail us feedback on this topic!  

Comments (...)

Revision history:

Introduced in QPR 7.3.2

 

Returns the user ID of the corresponding user (login) name provided as a parameter.

 

Synopsis:

 

PGApplication.GetUserId(LoginName, out UserId)

 

Parameters:

 

LoginName: String. Login name of some user.

out UserId: Integer. Variant for the returned user ID.

 

Required Rights:

 

None.

 

Return Values:

Below are listed the return values that this function can return:

 

RV_APPLICATION_QUIT_CALLED

RV_NOT_CONNECTED_TO_SERVER

RV_SUCCESS

RV_USER_NOT_FOUND

 

Example Procedure:

 

iRet = PGApplication.GetUserId("jsmith", UserID)

 

 

Comments (...)