[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETAEXPD()
 Determines or sets the expiration date of an access account
------------------------------------------------------------------------------
 Syntax

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

     Netware: 2.2 and 3.11

 Arguments

     <cUser>  Designates the name of the user.

     <dDate>  Designates the new expiration date for the access account
     of <cUser>.

     <cServer>  Designates the name of the file server where <cUser> is
     established.  Your workstation must be attached to <cServer>.

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

 Returns

     NNETAEXPD() returns the valid expiration date for the access account of
     <cUser>. If <dDate> has been passed and the returned date does not match
     <dDate>, the user of the NNETAEXPD() did not have the requested rights
     for the modification (see the description).

 Description

     NOVELL NET ACCOUNT EXPIRATION DATE
     NNETAEXPD() allows you to query and set the expiration date for the
     access account of <cUser>.  Any attempt by <cUser> to log in after the
     account expires disables the account.  To query the expiration date, do
     not pass a date for <dDate>.  If a value is passed for <dDate>,
     NNETAEXPD() tries to modify the expiration date.  However, supervisor
     rights on <cServer> are required to set a new expiration date.  An
     expiration date can be removed by passing an empty date.  With the
     parameters <cServer> or <nConId>, the expiration date of users on any
     file server can be queried or set.  The connection ID of a file server
     can be determined with the functions NNETATTACH() or NNETLOGIN().

 Examples

     .  Determine the expiration date for user MIKE:

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

     .  Set the new expiration date for the account of user MIKE:

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

     .  Remove the expiration date for the account of user MIKE:

        NNETAEXPD("MIKE",CTOD(""))

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