CreateProperty Method



 
The CreateProperty method creates a new user property.


Syntax

    [obj=] User.CreateProperty(name, value)
    
Parameters
    name String that specifies the name of the property.
    value String or Long value that specifies the value.
Return Value
    Returns an UserProperty object that represents the new property.
Remarks
    None.
Examples
    The following example creates a new property that contains a string for the first user.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    users = SiteCafe.Server.Users.GetUsers(1, 10);
    property = users.Item(1).CreateProperty("newProp", "value");
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top