Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
The password is stored encrypted in the underlying database.
[This is preliminary documentation and is subject to change.]
Updates the credentials used by the event handler when it executes.
Namespace: ContentStudio.Document.Subscription
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
Parameters
- username
- Type: SystemString
The username. This parameter can be null (Nothing in Visual Basic) or empty to indicate that credentials are not used. - password
- Type: SystemString
The password. This parameter can be null (Nothing in Visual Basic) if the password is not used. If username is null (Nothing in Visual Basic) or Empty the value of this parameter is ignored.
Exceptions
Exception | Condition |
---|---|
CSException | A business rule was violated in the underlying Content Studio database |
CSPermissionDeniedException | The caller has no permission to perform the requested action |
CSInvalidSessionException | The session is invalid |
CSInvalidParameterException | A parameter has an invalid value |
CSDocumentNotFoundException | The document could not be found |
CryptographicException | Failed to encrypt the password. |
ArgumentOutOfRangeException | The size of the username parameter exceeds its maximum length. |
SqlException | An error occurred when executing the command against the Content Studio database |
Remarks
See Also