The c-tree client library function ctGetAccountExpirationTime() returns the user account and user password expiration times that are set for the specified user account. An ADMIN group user account can call this function for any user account. A user account that is not a member of the ADMIN group can only call this function for its own account, otherwise the function returns error 589. If the specified user account does not exist, this function returns error 101.