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

     NNETPEXPD(<cUser>,[<dDate>],[<cServer>|<nConId>)
        --> dExpiration

     Netware: 2.2 and 3.11

 Arguments

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

     <dDate>  Designates the new expiration date for the password 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

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

 Description

     NOVELL NET PASSWORD EXPIRATION DATE
     NNETPEXPD() allows you to query or set the expiration date of the
     password of <cUser>. To determine the expiration date, do not pass a
     date for <dDate>.  If <dDate> contains a date, NNETPEXPD() tries to set
     a new expiration date.  Supervisor rights are required on the related
     file server to modify the expiration date.  An existing expiration date
     can be removed with an empty date.  With <cServer> or <nConId>, the
     password expiration date 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 date for user MIKE:

        ? NNETPEXPD('MIKE')               // z.B. 03/19/92

     .  Set the new password expiration date for user MIKE:

        NNETPEXPD('MIKE',CTOD('06/01/92'))

     .  Remove the password expiration date for user MIKE:

        NNETPEXPD("MIKE",CTOD(""))

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