![]() | SUMMARY | DETAIL |
Macros to create and manipulate user accounts in the system.
Macro Detail |
%lsaf_createuser(lsaf_userid=, lsaf_displayname=, lsaf_email=, lsaf_accounttype=, lsaf_password=, lsaf_firstname=, lsaf_lastname=, lsaf_department=, lsaf_phone=);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_userid
-
- Required - The user identifier of the account.lsaf_displayname
-
- Required - The display name of the account.lsaf_email
-
- Required - The email address of the account.lsaf_accounttype
-
- Required - The account type. Valid values:lsaf_password
-
- Required - The password for the account.lsaf_firstname
-
- Optional - The first name of the user for the account.lsaf_lastname
-
- Optional - The last name of the user for the account.lsaf_department
-
- Optional - The business unit for the account.lsaf_phone
-
- Optional - The phone number of the user for the account.
%lsaf_deleteuser(lsaf_userid=);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_userid
-
- Required - The user identifier of the account.
%lsaf_encryptpassword(lsaf_password=);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_password
-
- Required - The password.
%lsaf_getallusers(sas_dsname=work.lsafGetAllUsers);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.sas_dsname
-
- Optional - The name of the output SAS data set to contain the metadata
%lsaf_lockuser(lsaf_userid=);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_userid
-
- Required - The user identifier of the user account.
%lsaf_resetpassword(lsaf_userid=, lsaf_newpassword=);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_userid
-
- Required - The user identifier of the account.lsaf_newpassword
-
- Required - The new, temporary password.
%lsaf_unlockuser(lsaf_userid=);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_userid
-
- Required - The user identifier of the user account.
%lsaf_updateuserinfo(lsaf_userid=, lsaf_displayname=_lsaf_updateuser_donotupdate_, lsaf_email=_lsaf_updateuser_donotupdate_, lsaf_accounttype=_lsaf_updateuser_donotupdate_, lsaf_firstname=_lsaf_updateuser_donotupdate_, lsaf_lastname=_lsaf_updateuser_donotupdate_, lsaf_department=_lsaf_updateuser_donotupdate_, lsaf_phone=_lsaf_updateuser_donotupdate_);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_userid
-
- Required - The user identifier of the account.lsaf_displayname
-
- Optional - The user display name.lsaf_email
-
- Optional - The user email address.lsaf_accounttype
-
- Optional - The user account type. Valid values:lsaf_firstname
-
- Optional - The first name of the user.lsaf_lastname
-
- Optional - The last name of the user.lsaf_department
-
- Optional - The business unit of the user.lsaf_phone
-
- Optional - The phone number of the user.
%lsaf_userexists(lsaf_userid=);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code._lsafUserExists_
-
Indicates whether the user account exists.lsaf_userid
-
- Required - The identifier of the user account.