ClearBox Server™ v1.2 Developer's Guide

USERINFO

It is used in ICommonAuthentication methods to describe a user. This information is common for TACACS+ and RADIUS.

IMPORTANT NOTE. Unregistered trial version of ClearBox Server limits the size of userName field to 4 characters maximum. To remove this limitation, register your copy of ClearBox Server.

struct USERINFO {
	BSTR userName;
	BSTR userPassword;
	BSTR realmName;
	long clientIPAddress;
	long nasIPAddress;	
	VARIANT_BOOL tacacsUser;
};

Members

userName
Username.
userPassword
User's password (if available, NULL otherwise).
realmName
User's realm (if available, NULL otherwise).
clientIPAddress
IP address of the client that sent the request packet (in network byte order).
nasIPAddress
IP address of NAS that sent the original request packet (in network byte order).
NOTE. When used with RADIUS protocol, has valid value if NAS-IP-Address attribute is available, 0 otherwise.
tacacsUser
Specifies whether packet is sent by TACACS+ client (VARIANT_TRUE) or RADIUS client (VARIANT_FALSE).

See Also

Common authentication process


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

Created by chm2web html help conversion utility.