Skip to main content
ExLibris

Knowledge Assistant

BETA
  • Subscribe by RSS
  • Back
    MetaLib

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. MetaLib
    3. Knowledge Articles
    4. Fix 228: Dynamically setting user's expiry date

    Fix 228: Dynamically setting user's expiry date

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Additional Information
    • Article Type: General
    • Product: MetaLib
    • Product Version: 3

    Description:
    How can a user’s expiry date be set dynamically when logging in?

    Resolution:
    Using PDS attribute mapping, it is possible to set an expiry date that will be assigned to every user when logging in. This is done by adding a definition in the file named INSTITUTE.tags (where INSTITUTE stands for the institute code) under the directory ./pds/conf_table.
    In this file, add the following lines to set the dynamic expiry date. The expiry date can be any combination of years, months and days from the time of login.

    Following is an example of such a definition that can be added to the /pds/conf_table/INSTITUTE.tags file:
    [defaults]
    expiry-date,today +1y+6m

    Format is as follows:
    expiry-date,today +Xy +Xm +Xd
    Where X is any number and y signifies years , m signifies months and d signifies days.

    For example:

    [defaults]
    expiry-date,today +17d

    [defaults]
    expiry-date,today +1m+20d

    Documentation regarding Attribute Mapping in PDS is available in the Patron Directory Services Guide.

    Additional Information

    PDS, expiry date


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Find Databases Link Not Working in Simple Search Only
      • Fix 255: Adding Institute Parameter to Deep Links in Alerts
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Content Type
      Knowledge Article
      Language
      English
      Product
      MetaLib
    2. Tags
      1. 3
      2. contype:kba
      3. Prod:MetaLib
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved