Click or drag to resize

aceServerUserALCSetUser Method

Home | imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Sets the user supplied. Use this during init sequence or during user list loading

Namespace:  imbACE.Network.internet.config
Assembly:  imbACE.Network (in imbACE.Network.dll) Version: 0.2
Syntax
C#
public aceServerUser SetUser(
	string username,
	string md5pass,
	uint uid,
	int uLevel = 1,
	string[] allowIP = null
)
Request Example View Source

Parameters

username
Type: SystemString
The username.
md5pass
Type: SystemString
The md5 encripted password
uid
Type: SystemUInt32
The uid.
uLevel (Optional)
Type: SystemInt32
User access level
allowIP (Optional)
Type: SystemString
The list of IP addresses allowed to login using this username/password.

Return Value

Type: aceServerUser
Exceptions
ExceptionCondition
aceServerExceptionUsername [" + username + "] is already taken. - null - SetUser failed
See Also