[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FN_OBJCNUM()
GetObjectConnectionNumbers
------------------------------------------------------------------------------
Syntax
fn_objCNum( <cObjectName> [, <nObjectType> ] ) -> aConnectionNumbers
Arguments
<cObjectName> is the name of the Object that you are interested in.
It can be from 1 to 47 characters in length.
<nObjectType> is the Netware object type. For a list of object types
refer to the "Information" section in this Norton Guide, or NETTO.CH.
If omitted, <nObjectType> defaults to OT_USER.
Returns
An array containing a list of each logical connection number for the
requested object. If the object is not logged into the default
file server, an empty array is returned.
Description
Use this function to learn where a particular object is logged into
the default file server. This can be useful when sending messages
to other users.
Examples
/* user MARY is logged in at 3 workstations on the default server */
aLogins := fn_objCNum( "Mary", OT_USER )
? LEN( aLogins ) // 3
Source: N:\SRC\CONNWS\CONNUM.PRG
Author: Steve Larsen
See Also:
fn_connNum()
fn_scnBndO()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson