Logs in a user.
(ade_userset [username [password]])
Returns T if the user is logged in successfully, otherwise nil.
username | Login name (string). |
password | Password (string). |
If either argument is omitted, the User Login dialog box displays. If a login name was specified, it appears in the dialog's Login Name field.
If both arguments are specified, but the user cannot be logged in, one of the following messages is added to the error stack:
If the drawing set includes active drawings containing locked entities, the current user cannot be changed. If you attempt to log in a different user under those conditions, the following error message is added to the error message stack: