|
||
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)