Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> usrfilecountget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 UsrFileCountGet()
------------------------------------------------------------------------------
 Purpose:
 Get the number of files owned by a user.

 Syntax:
 dwFiles = UsrFileCountGet( iVolumeNum, dwUserID )

 Parameters:
 iVolumeNum The volume number.
 dwUserID   The user's ID number.

 Returns:
 A numeric value (unsigned long int).

 The CA-Clipper name for this function is:
 UsrFilCntGet()

 Description:
 UsrFileCountGet() returns the number of files owned on volume iVolumeNum
 by the user specified by ID number dwUserID.

 Returns NOVERRLONG if an error occurs.

 Example:
 // To display the number of files owned by "WILLIAM" on volume 0:
 dwFileCount = UsrFileCountGet(0,UsrIDGet("WILLIAM") )
 if ( dwFileCount != NOVERRLONG )
    ? "User WILLIAM owns", dwFileCount, "files on volume 0"
 endif

See Also: UsrDirCountGet() UsrDiskBlockGet() UsrVolumeRestrictGet() / UsrVolumeRestrictSet()

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