4D v16.3

OPEN ADMINISTRATION WINDOW

Home

 
4D v16.3
OPEN ADMINISTRATION WINDOW

OPEN ADMINISTRATION WINDOW 


 

OPEN ADMINISTRATION WINDOW  
Does not require any parameters

The OPEN ADMINISTRATION WINDOW command displays the server administration window on the machine that executes it. The 4D Server administration window can be used to view the current parameters and to carry out various maintenance operations (see the 4D Server Reference Guide). Beginning with version 11 of 4D Server, this window can be displayed from a client machine:

This command must be called in the context of a connected 4D application or a 4D Server. It does nothing if:

  • it is called in a 4D application in local mode,
  • it is executed by a user other than the Designer or the Administrator (in this case, the error -9991 is generated, see the Database Engine Errors (-10602 -> 4004) section).

Example  

Here is the code for an administration button:

 If(Application type=4D local mode)
    OPEN SECURITY CENTER
  ` ...
 End if
 If(Application type=4D remote mode)
    OPEN ADMINISTRATION WINDOW
  ` ...
 End if
 If(Application type=4D Server)
  ` ...
    OPEN SECURITY CENTER
 End if

If the command has been executed correctly, the OK system variable is set to 1. Otherwise, it is set to 0.



See also 

OPEN SECURITY CENTER

 
PROPERTIES 

Product: 4D
Theme: 4D Environment
Number: 1047

The OK variable is changed by the commandThis command modifies the Error system variableDifferent in remote mode

 
HISTORY 

Created: 4D v11 SQL Release 2

 
TAGS 

Useful

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)