Temporary Account

An administrator can define an expiration date for a user account:

  • using the administration page

account expiration

  • using the API (create or update user)
updateUser(args: {
    id: UserID;
    firstName?: string;
    lastName?: string;
    email?: string;
    email2?: string;
    isAdmin?: boolean;
    suspended?: boolean;
    accountExpiration?: Date | number | string | null //Expiration parameter
    groups?: GroupID[];
}): { error?: string; };

When the date is reached, the account has a status Expired and the user can’t authenticate on Trustelem anymore.