Previous Topic Next topic Print topic


FSV-C-get-user-info

Gets the information about the logged-on users for the server being currently accessed.

Syntax:

When the fsview has been initialized using FSV-C the callback uses the following syntax:

call FSV-C-get-user-info using      fsvw-data-block

When the fsview has been initialized using FSC-C-long-password the callback uses the following syntax:

call FSV-C-get-user-info using      fsvw2-data-block

Parameters:

Parameters when the fsview has been initialized using FSV-C (fsvw-data-block):

fsvw-log-filename
pic x(255).
fsvw-filename-size
pic x(16).
fsvw-log-filesize
pic x(16).
fsvw-disk-space
pic x(16).
fsvw-disk-size
pic x(16).

Parameters when the fsview has been initialized using FSC-C-long-password (fsvw2-data-block):

fsvw2-log-filename
pic x(255).
fsvw2-filename-size
pic x(16).
fsvw2-log-filesize
pic x(16).
fsvw2-disk-space
pic x(16).
fsvw2-disk-size
pic x(16).

See FSVIEW Datablock or FSVW2 Datablock for a complete definition of the fsvw-data-block or fsvw2-data-block respectively.

On Entry:

When fsview has been initialized using FSV-C:

fsvw-server-name
The name of the currently selected server. This is the name that the Fileshare Server was started with in the /s option.

When fsview has been initialized using FSV-C-long-password:

fsvw2-server-name
The name of the currently selected server. This is the name that the Fileshare Server was started with in the /s option.

On Exit:

None.

Comments:

This call does not directly return information to the calling program but makes repeated calls back to a user-defined call. Up to 10 entries at a time will be sent to the call back. You must provide the callback specified in the FSVIEW function FSV_C_add-to_user_list.

You can check the success of the call by examining RETURN-CODE.

Previous Topic Next topic Print topic