Equinox Online Help - Language Reference - A to Z

Home

UserAccountExpiry

Applies to
SyntaxUserAccountExpiry
Action[Function] Returns the date the user account expires.
ScopeUsable anywhere.
Notes

This function determines the date on which the current user account expires.

CategoryUser, groups and ESS
See Also ChangeRecordGroup, CurrentRecordGroup, FieldPermissions, FirstUserGroup, FirstUserName, NextUserGroup, NextUserName, RecordPermissions, SetUserGroup, ShowRecordGroup, UserGroup, UserName, UserPasswordExpiry, UserPermission
Example

This example sends a message to the Application Supervisor if their account expires tomorrow.

if UserAccountExpiry() - 1 = Today then
Alert "Your account expires tomorrow."
end if