[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETPEXPI()
 Sets or determines the password expiration interval
------------------------------------------------------------------------------
 Syntax

     NNETPEXPI(<cUser>,[<nDays>],[<cServer>|<nConId>)
        --> nExpiration

     Netware: 2.2 and 3.11

 Arguments

     <cUser>  Designates the name of user whose password expiration
     interval is set or determined.

     <nDays>  Designates the new password expiration interval of <cUser>.

     <cServer>  Designates the name of the file server to which <cUser>
     has access.  Your workstation must be attached to <cServer>.

     <nConId>  Designates the connection ID of your workstation on
     <cServer>.

 Returns

     NNETPEXPI() returns the current expiration interval of the password for
     <cUser>.  If <nDays> has been passed and the return value does not match
     <nDays>, the requesting user did not have the rights required for the
     modification.

 Description

     NOVELL NET PASSWORD EXPIRATION INTERVALL
     NNETPEXPI() allows you to query or set the expiration interval of the
     password of <cUser>. To determine the expiration interval, do not pass a
     value for <nDays>.  If <nDays> contains a numeric value, NNETPEXPI()
     tries to set this value as new expiration interval.  Supervisor rights
     are required on the related file server to modify the expiration
     interval.  An existing expiration interval can be removed if you set
     <nDays> equal to 0.  With <cServer> or <nConId>, the password expiration
     interval of users on any attached file servers can be modified.  The
     connection ID of a server is returned by NNETATTACH() or NNETLOGIN().

 Examples

     .  Determine the password expiration interval for user MIKE:

        ? NNETPEXPI('MIKE')                     // For example 40

     .  Set the new password expiration interval for user MIKE:

        NNETPEXPI('MIKE',50)

     .  Remove the password expiration interval for user MIKE:

        NNETPEXPI("MIKE",0)

See Also: NNETPEXPD()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson