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> fsgrpmgrlist()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FSGrpMgrList()
------------------------------------------------------------------------------
 Purpose:
 List workgroup managers on the file server.

 Syntax:
 lpszManager = FSGrpMgrList( iIndex )

 Parameters:
 iIndex The index into the list.

 Returns:
 A character string of length 47.

 Description:
 FSGrpMgrList() is used to obtain a list of workgroup managers on the
 default file server. iIndex is the offset into the list.

 FSGrpMgrList() should be called repeatedly, with iIndex initially set to
 1 and incremented on each subsequent call until an empty string is
 returned.

 Returns an empty string on the first call if an error occurs or when the
 end of the list is reached.

 Example:
 // To return a list of workgroup managers on the default file server:
 iIndex = 1
 lpszMgrName = FSGrpMgrList( iIndex )    // Sample: "PETER"
 do while !empty ( lpszMgrName )           // Loop through names
    ? lpszMgrName
    iIndex++
    lpszMgrName = FSGrpMgrList( iIndex ) // Get next name
 enddo

 Notes:
 FSGrpMgrList() uses SetPrpValSet() to scan through the
 MANAGERS set property value of the SUPERVISOR object of the default file
 server. After an empty string is returned, check NWErrorGet().

See Also: UsrGrpMgrSet() UsrGrpMgrDel() SetPrpValGet() / SetPrpValSet()

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