UserPropertiesDeleteApplication Method (ConnectionId, SessionId, String, TrusteeUserIdentifiers, String) Content Studio 5.7 SDK
Content Studio Web Content Management System

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

Deletes a custom Content Studio User property application and all the properties connected to that application.

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

public void DeleteApplication(
	ConnectionId connectionId,
	SessionId sessionId,
	string identifier,
	TrusteeUserIdentifiers idType,
	string applicationName
)

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).
identifier
Type: SystemString
An identifier to a user.
idType
Type: ContentStudio.SecurityTrusteeUserIdentifiers
The type of identifier entered in the Identifier parameter.
applicationName
Type: SystemString
The name of the application to delete. If applicationName does not exist an exception is thrown. A business rule was violated in the underlying Content Studio database
Exceptions

ExceptionCondition
CSExceptionA business rule was violated in the underlying Content Studio database. The following numbered exceptions are common:
  • 1001 - The session is invalid
  • 1002 - Permission denied
  • 1024 - The application does not exist
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

A user can always work with her own data. For other accounts the caller must have the GlobalGroupAdmin user right.
Remarks

All property and application names are case sensitive. The system application cannot be deleted.
See Also

Reference