AppCtrlScript

MAY Computer

Help

APPXSLOGIN

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Other

See also  

APPXSCANACCESS, APPXSGETRIGHTS, APPXSLOGOUT

Part of the AppXS Integration Interface (MAY Computer program and module access administration interface). This method performs a login.

 

Syntax

A[PP]XSLOGIN <VariableName>[, <User>][, <Password>][, <AppID>][, <DoMsg>][, <SilentLogin>]

Part

Description

<VariableName> Variable name to store login result in. Will be 1 if login was successful otherwise 0. There will be 2 variables added <VariableName>_Error and <VariableName>_ErrorDesc containing probably occured login error.
<User> User ID. If missing default is currently logged on user.
<Password> Optional password if to verify.
<AppID> Optional application short name. Default is "WMACSCR1".
<DoMsg> 1|0; Flag if (error) messages should be displayed. If 0 then errors are not displayed. Default is 1.
<SilentLogin> 1|0; Flag if login operation should be performed silently. If 1 then login is done silently (no dialog for entering user id and password is displayed). Default is 1.

 

Sample

  AXSLOGIN Result, , , "MYAPPLICATION", 0, 1
  AXSCANACCESS HaveRights, "LAUNCH", "X"
  AXSLOGOUT