
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> fsconoprlst()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FSConOprLst()
------------------------------------------------------------------------------
Purpose:
List console operators on a file server.
Syntax:
lpszOperatorName = FSConOprLst( lpszServerName, iIndex )
Parameters:
lpszServerName The file server name.
iIndex The index into the list.
Returns:
A character string of length 47.
Description:
FSConOprLst() is used to obtain a list of console operators on
the specified file server.
lpszServerName is the name of the file server, iIndex is the index into the
list which should initially be set to 1 and incremented on each subsequent
call until an empty string is returned signifying the end of the list.
Returns an empty string on the first call if an error occurs.
Example:
// To return a list of the default file server's console operators:
iIndex = 1
lpszServerName = FSNmeGet(0)
lpszOperator = FSConOprLst( lpszServername, iIndex )
do while !empty ( lpszOperator )
? lpszOperator // Display operator name
iIndex++ // Next operator
Operator = FSConOprLst( lpszServerName, iIndex )
enddo
Notes:
After an empty string is returned, check NWErrorGet().
See Also: UsrConOprSet() UsrConOprDel() UsrConOprTst() SetPrpIDAdd() SetPrpIDDel() SetPrpValGet() / SetPrpValSet()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson