ClearBox Server™ v1.2 Developer's Guide


Called by server when user changes his password.

HRESULT SetUserPassword(
	[in] long tag,
	[in] USERINFO * userInf,
	[out] VARIANT_BOOL * success);


[in] Unique value identifying packet (RADIUS or TACACS+) in whose context this method is called.
[in] Describes user for whom new password is set. userPassword field contains new password.
[out] Specifies whether the result of the password change is successful (VARIANT_TRUE) or not (VARIANT_FALSE).

Return Values

If extension returns error code, error TACACS+ packet is sent back.

Thread Safety

This method is called in context of WORK 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 userInf fields, so extension must not change them.


Although this method is in common authentication interface, in current server implementation it is used with TACACS+.

See Also

ICommonAuthentication, Common authentication process, TACACS+ specific authentication

© 2001-2003 XPerience Technologies.

Created by chm2web html help conversion utility.