 |
ALPHA-VISION® Actions for Access Protection: Usr_Login
|
Usr_Login
SUMMARY
Usr_Login - Login user
SYNTAX
Usr_Login(
<username>)
ARGUMENTS
- username
-
User Name
DESCRIPTION
Allows to login as a certain user.
(Users for a system are defined via the AvET; any User owns a Profile
containing Functions depending on the rights granted to that User. -
A user may have a password.)
If in the above job no <username> is supplied the system asks for
a username.
It must be inputted and confirmed by the ‘Returne’ key.
-
If the defined user does not have a password, the empty field must
be confirmed by the ‘Returne’ key.
-
If the defined user does have a password, it must be inputted and
confirmed by the ‘Returne’ key.
If in the above job a <username> is supplied the system asks for
the password of the defined user.
Important:
Note:
As a prerequisite a ‘Default User’ must be defined in the
<PROJECT>.cfg file.
EXAMPLES
Usr_Login(admin)
The system asks for the password of the user “admin”.
- on a proper input an according message is displayed and the
user is logged in.
- on a faulty input an according message is displayed und the login
denied.
Usr_Login()
The system asks for the user to be logged in and afterwards
for the password.
Syntax Notation
- [aaa]
- aaa is optional (zero or one occurences)
- (aaa|bbb)
- aaa exclusive or bbb
- (aaa)*
- aaa may occur indefinitely often or may be omitted
- (aaa)+
- aaa may occur indefinitely often but at least once
- (aaa)m..n
- aaa may occur from m to n times