Skip over navigation

Roxen Interactive RXML Help

<ac-set-identity-data/>

Sets arbitrary data in an identity. The data is stored along with the identity in the AC database and can later be retrieved with <emit ac-identity-data>.

A user is always allowed to alter this data in her self. If an other user is specified with the identity attribute the normal AC permission checks are used.

<ac-set-identity-data identity='john' index='email' value='john@foo.com' />

Attributes

identity
identity={string, int}

Username or numerical id of the identity. If no identity is supplied the currently authenticated user will be used.

index
index=string
This attribute is required.

A field name for this data.

value
value=string
This attribute is required.

Value to store. If the value is empty the field will be completely removed.