ClearBox Server™ v1.2 Developer's Guide

INASManagement::DisconnectUser

Called by server when IRADIUSAccounting::ProcessAccounting or ITACACSAccounting::ProcessAccounting return A_DISCONNECT value (via status parameter) indicating that the user should be disconnected from the NAS.

HRESULT DisconnectUser(
	[in] USERADDRESS userToDisconnect,
	[out] VARIANT_BOOL * statusOK);

Parameters

userToDisconnect
[in] Describes user location.
statusOK
[out] Specifies whether user was disconnected on server request (VARIANT_TRUE), or synchronization object failed (VARIANT_FALSE).

Return Values

If extension returns error code, server does nothing.

Thread Safety

This method is called in context of SYNC thread. (See Server Threads Model for details.) You should synchronize data which is shared with other threads.

Memory Management

Server allocates and frees memory for userToDisconnect fields.

Remarks

If this method fails or is not implemented, and user is not disconnected, it will be called subsequently.

See Also

INASManagement, Synchronization process, IRADIUSAccounting::ProcessAccounting, ITACACSAccounting::ProcessAccounting


© 2001-2003 XPerience Technologies. www.xperiencetech.com

Created by chm2web html help conversion utility.