UserUpdateAppData Method (ConnectionId, SessionId, Int32, String, String) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Saves application defined data for a certain user.

Namespace: ContentStudio.Security
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public void UpdateAppData(
	ConnectionId connectionId,
	SessionId sessionId,
	int userId,
	string appData,
	string email
)

Parameters

connectionId
Type: ContentStudioConnectionId
A value that identifies the web site
sessionId
Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId).
userId
Type: SystemInt32
The Content Studio identifier of the user whose data to update.
appData
Type: SystemString
Application XML data to save.
email
Type: SystemString
The caller's email address.
Remarks

Note Note
Applications should not use this method when saving user property data. Use the methods of the UserProperties class instead.
Remarks

This data is in the form of a text data field that can be used to store an XML document. If UserID is set to 0 the caller's own application defined data will be updated.
See Also

Reference