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.1

 

Returns the user ID of the user defined in the function call.

 

Synopsis:

 

SCApplication.GetUserId(vsLoginName, out UserId)

 

Parameters:

 

vsLoginName: Login name of the user whose ID is sought for. String.

UserId: Contains the returned user ID. Integer.

 

Required Rights:

 

None.

 

Return Values:

 

RV_APPLICATION_QUIT_CALLED

RV_NOT_CONNECTED_TO_SERVER

RV_NOT_AUTHENTICATED

RV_SUCCESS

RV_USER_NOT_FOUND

 

Example Procedure:

 

iRet = SCApplication.GetUserId("John Smith", UserId)

Comments (...)