ContainerManager Methods |
The ContainerManager type exposes the following members.
| Name | Description | |
|---|---|---|
| AddContainer |
Adds the given container and all of its container items.
All container items of type ContainerItemPassword and ContainerItemPasswordMemo
are encrypted in the process.
If neither a template group ID nor right templates are provided, the rights of the organisation unit are applied to the password.
| |
| CloneContainer |
Clones the container object with the given ID.
The cloned container is NOT persisted in the database.
| |
| CreateContainerFromBaseContainer |
Creates a new container from a base container.
Use this method if you want to create a new password from a form for example.
| |
| DecryptContainerItem |
Returns the decrypted value of a container item with type ContainerItemPassword
or ContainerItemPasswordMemo.
A logbook entry containing the reason why you obtained the value is created.
| |
| DeleteContainer |
Deletes a container and all of its container items if possible.
| |
| EncryptContainerItem |
Encrypts the plaintext, stores the encrypted value and the public key
in the container item and returns the data key that can be used to decrypt the value if a new data key was created.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetContainer |
Returns the container (including container items) that matches the given ID.
| |
| GetContainerCount |
Returns the number of containers that match the given filter.
| |
| GetContainerHistoryList |
Returns a history of the matching container.
| |
| GetContainerInvolvedOrganisationUnit |
Returns a list of IDs of involved organisation units.
| |
| GetContainerItem |
Returns a single container item matching the ID.
| |
| GetContainerItemWithSecretValue |
Returns the container item with its encrypted value.
Can be used with container items of type ContainerItemPassword or ContainerItemPasswordMemo.
A logbook entry containing the reason why you obtained the value is created.
| |
| GetContainerList |
Returns a list of containers that match the given filter.
| |
| GetContainerListFilter |
Returns the container list filter that was at last saved for the user or the default filter for
the PsrContainerType if defaultFilter is set to true.
| |
| GetCredentialCheck |
Returns credential check information for the container with the given ID.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitContainer |
Initializes a new container of the given type.
| |
| InitContainerItem |
Initializes a new PsrContainerItem.
Use this method if you want to add new container items to an existing container.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| UpdateContainer |
Updates the given container and all of its container items if possible.
|