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

 Syntax:
 iWriteLevel = FSWriteLevelGet()

 Parameters:
 None.

 Returns:
 A numeric value (signed short int)

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

 Description:
 FSWriteLevelGet() returns the write access level of the workstation
 to the NetWare bindery.

 Returns NOVERRINT if an error occurs. Write access to the bindery allows
 the workstation to change details of users, user groups, etc.
 The security access levels are as follows:

 0  Allowed to change details which are available to anyone. This
    indicates that the workstation is connected to the file server but not
    logged in.
 1  Allowed to change 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 change 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 write access level of the workstation:
 iWriteLevel = FSWriteLevelGet()
 if ( iWriteLevel != NOVERRINT )
    ? "Bindery write access level is", iWriteLevel
 endif

See Also: FSReadLevelGet()

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