613-518-1166 info@zimdatabases.com

ZIM Language Reference

LOGIN

< All Topics

Identifies the current user to Zim for security purposes.

Syntax

LOGIN username [password]

Parameters

username

A character string, or an expression that evaluates to a character string.
The character string is checked against the list of valid user names (as defined in the Users EntitySet). User names are case-sensitive.
Complex expressions must be enclosed in parentheses.

password

A character string, or an expression that evaluates a character string.
If username does not have a defined password, any password entered is ignored.
Complex expressions must be enclosed in parentheses.

Comments

The LOGIN command can be entered at any time during an application session.

When the software is started, it automatically tries to log the user as the default user ZIM. If ZIM is not a defined user in the Users entity set, access to any EntitySets or relationships is denied.

Example

If your user name is Boss and your password is $profits, to log in use

login “Boss” “$profits”

If you do not have a password, all you need to login is

login newuser

This example can be used if the application uses a log-in form

login fLogin.Username fLogin.Password

 

See Also

PASSWORD

PERMISSION

Securing Data Inside an Application

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents