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

 Syntax:
 lpszManager = FSGroupMgrList( iIndex )

 Parameters:
 iIndex The index into the list.

 Returns:
 A character string of length 47.

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

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

 FSGroupMgrList() 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 = FSGroupMgrList( iIndex )    // Sample: "PETER"
 do while !empty ( lpszMgrName )           // Loop through names
    ? lpszMgrName
    iIndex++
    lpszMgrName = FSGroupMgrList( iIndex ) // Get next name
 enddo

 Notes:
 FSGroupMgrList() uses SetPropertyValueSet() 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: UsrGroupMgrSet() UsrGroupMgrDelete() SetPropertyValueGet() / SetPropertyValueSet()

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