Click or drag to resize

ContainerManager Class

Contains methods to manipulate containers. Containers are passwords, forms and documents
Inheritance Hierarchy

Namespace:  PsrApi.Managers
Assembly:  PsrApi (in PsrApi.dll) Version: 8.13.13.27522 (14.03.2022)
Syntax
C#
public class ContainerManager : BaseManager

The ContainerManager type exposes the following members.

Methods
  NameDescription
Public methodAddContainer
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.
Public methodCloneContainer
Clones the container object with the given ID. The cloned container is NOT persisted in the database.
Public methodCreateContainerFromBaseContainer
Creates a new container from a base container. Use this method if you want to create a new password from a form for example.
Public methodDecryptContainerItem
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.
Public methodDeleteContainer
Deletes a container and all of its container items if possible.
Public methodEncryptContainerItem
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.
Public methodEquals (Inherited from Object.)
Public methodGetContainer
Returns the container (including container items) that matches the given ID.
Public methodGetContainerCount
Returns the number of containers that match the given filter.
Public methodGetContainerHistoryList
Returns a history of the matching container.
Public methodGetContainerInvolvedOrganisationUnit
Returns a list of IDs of involved organisation units.
Public methodGetContainerItem
Returns a single container item matching the ID.
Public methodGetContainerItemWithSecretValue
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.
Public methodGetContainerList
Returns a list of containers that match the given filter.
Public methodGetContainerListFilter
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.
Public methodGetCredentialCheck
Returns credential check information for the container with the given ID.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodInitContainer
Initializes a new container of the given type.
Public methodInitContainerItem
Initializes a new PsrContainerItem. Use this method if you want to add new container items to an existing container.
Public methodToString (Inherited from Object.)
Public methodUpdateContainer
Updates the given container and all of its container items if possible.
Top
See Also