![]() ![]() |
Reference Type: Supported, Category: User, ICR#: 2343
The $$ACTIVE^XUSER extrinsic function returns the active status indicator and latest signon information of a user in the NEW PERSON (#200) file.
$$ACTIVE^XUSER(ien)
ien: |
(Required) Internal Entry Number (IEN) of the user to be checked in the NEW PERSON (#200) file. |
returns: |
Returns any of the following codes:
|
This is an example of an Active User in the NEW PERSON (#200) file:
>S X=$$ACTIVE^XUSER(1529) >WRITE X 1^ACTIVE^3030321.093756 |
This is an example of a Terminated User in the NEW PERSON (#200) file:
>S X=$$ACTIVE^XUSER(957) >W X 0^TERMINATED^2980504 |
This is an example of a User with no record in the NEW PERSON (#200) file, returns a NULL string:
>S X=$$ACTIVE^XUSER(999999999) >W X > |
This is an example of a User in the NEW PERSON (#200) file with the DISUSER flag set:
>S X=$$ACTIVE^XUSER(111) >W X 0^DISUSER |