8.5

newName.
Syntax
RenameKey(GroupName: string, oldName: string, newName: string)
Examples
JavaScript
repoObject.RenameKey("Users", "LastName", "SurName");
VB Script
repoObject.RenameGroup "Users", "LastName", "SurName"
SetValue
Updates multiple keysets in group GroupName by setting the key KeyName to Value for all keysets that
match Condition. The condition is specified using basic SQL WHERE syntax. The Condition may be left
empty in which case all keysets in GroupName are updated. Note that KeyName must exist in GroupName,
otherwise an error is raised. The method returns an array of the keyset ID's that were updated ([1,2] ), or an
empty array ([] ) if no keysets were updated.
Syntax
SetValue(GroupName: string, KeyName: string, Value: string, Condition:
string): string
Examples
JavaScript
repoObject.SetValue("Users", "FormOfAddress", "Mr.", "Gender='M'" );
repoObject.SetValue("Users", "FormOfAddress", "Ms.", "Gender='F' AND
MaritalStatus='Married'" );
repoObject.SetValue("Users", "FormOfAddress", "Miss", "Gender='F' AND
MaritalStatus=''" );
VB Script
repoObject.SetValue "Users", "FormOfAddress", "Mr.", " Gender=""M"" "
repoObject.SetValue "Users", "FormOfAddress", "Ms.", " Gender=""F"" AND