Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetusrfre()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETUSRFRE()
 Determines the server disk space still available to a user
------------------------------------------------------------------------------
 Syntax

     NNETUSRFRE([<cUser>]) --> nByte

     Netware: 2.2 and 3.11

 Argument

     <cUser>  Designates the object name, which must be of the type,
     user.  The default value designates the logged in user.

 Returns

     NNETUSRFRE() returns the disk space that an object (user) can still
     occupy on the default server.

 Description

     NOVELL NET USER'S FREE SPACE
     Available free disk capacity on the file server can be limited relative
     to an object in newer Novell versions; for example, user JIM can only
     occupy 10 MB.  With NNETUSRFRE(), you can determine how much disk
     capacity an individual user still has available.  If the <cUser>
     parameter is not specified, the function returns the space available for
     the login name.

 Notes

     .  Console privileges are required in order to determine this
        information for other users; however, the user's own free capacity
        can be determined without additional rights.

     .  The value returned for free available space does not guarantee
        that it is actually available on the file server hard disk.  This can
        be done using NNETVOLFRE().

 Examples

     .  Determine your individual disk space still available:

        ? NNETUSRFRE()

     .  Determine the free capacity for user JIM.  This function
        requires console privileges at least:

        IF NNETCOPRIV()
           ? NNETUSRFRE("JIM")      // e.g. 2000 kB
        ENDIF

See Also: NNETSETSRV() NNETCOPRIV() NNETSPRVSR() NNETVOLFRE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson