GetSignonInfo

ACCPAC Common Controls

AccpacSession.GetSignonInfo

Returns the signon information of the current session in one call.

Sub GetSignonInfo(
  UserID As String,
  CompanyID As String,
  CompanyName As String)

Parameters

UserID

[out] returns the ID of the currently logged in user

CompanyID

[out] returns the ID of the company associated with the current open session

CompanyName

[out] returns the database name of the company (as set in ACCPAC Database Setup) associated with the current open session

Remarks