2 user authorisations – Lenze PCMatic Operating system Windows CE4-2 Benutzerhandbuch

Seite 73

Advertising
background image



‚

71

3.1.2 User authorisations

To allow other devices access to a COM server (e.g. an OPC server) of the PCMatic device via
DCOM, it is necessary for the device to be supplied with the user information which is to be
expected at the time of logon.

Information about a user is provided to the PCMatic device by means of the instruction “Set
User”, or this may also be used to change the password for an existing user. The syntax is as
follows:

Set User:<user>/<pwd>

The user’s password is not entered in encrypted form and is therefore
always visible in the text file.

e.g.

Set User:JS/xyz

Set User:SK/zyx

There is additionally the possibility of restricting access to all or to individual applications by
means of standard authorisations and application-related authorisations.

By means of the instructions “Set DefaultLaunchPermission” and “Set DefaultAccessPermission”,
the standard start authorisations and access authorisations can be set up.

The syntax is as follows:

Set DefaultLaunchPermission=<user1>;< user2>
or alternatively

Set DefaultAccessPermission=<user1>;< user2>

e.g.:

Set DefaultLaunchPermission=JS;SK

Set DefaultAccessPermission=JS;SK

By means of the instructions “Set LaunchPermission” and “Set AccessPermission”, the
application-specific start authorisations and access authorisations can be set up. The individual
users must be separated by semicolons.

The syntax is as follows:

Set LaunchPermission <ProgID>=<user1>;< user2>

or alternatively

Set AccessPermission <ProgID>=<user1>;< user2>

Or directly with the APPID:

Set LaunchPermission <AppID>=<user1>;< user2>

or alternatively

Set AccessPermission <AppID>=<user1>;< user2>

Advertising