Previous Topic: Add a User Attribute ValueNext Topic: Delete a User Attribute Value


Set a User Attribute to a Single Value

This command removes the previous value of the attribute and replaces it with a new value. If no value is currently set, then this command will set one. Specify the attribute number, user name and the attribute value you want to set.

setattribute1,<user name>,<attribute value>
setattribute2,<user name>,<attribute value>
setattribute3,<user name>,<attribute value>

And so on.

This command overwrites all existing values for an attribute.

If you have renamed a user attribute, you can specify the attribute by its new name (in one of three ways), or its original attribute number when using this command. For example, use any of the following methods:

setattribute2,<lsteel>,<Female> 
setattribute:gender,<lsteel>,<Female> 
setattribute gender,<lsteel>,<Female> 
setattribute "gender",<lsteel>,<Female>