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> fsreadlevelget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FSReadLevelGet()
------------------------------------------------------------------------------
 Purpose:
 Get the current read access level to the file server.

 Syntax:
 iReadLevel = FSReadLevelGet()

 Parameters:
 None.

 Returns:
 A numeric value (signed short int).

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

 Description:
 FSReadLevelGet() returns the workstation's read access level to the
 NetWare bindery. Returns NOVERRINT if an error occurs. Read access to the
 bindery allows the workstation to retrieve details about users, user
 groups etc. The security access levels are as follows:

 0  Allowed to retrieve details which are available to anyone. This
    indicates that the requesting workstation is connected to the file
    server but not logged in.
 1  Allowed to retrieve details available to users logged into the file
    server.
 2  Allowed to retrieve details of users, user groups etc. only if
    requesting user is logged in as that user or is a member of the group.
 3  Allowed to retrieve details available to users logged in as
    Supervisor or users who are security equivalent to Supervisor.
 4  Details can only be retrieved by the NetWare operating system.

 Example:
 // To display the bindery read access level of the workstation:
 iReadLevel = FSReadLevelGet()
 if ( iReadLevel != NOVERRINT )
    ? "Bindery read access level is", iReadLevel
 endif

See Also: FSWriteLevelGet()

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