Click or drag to resize

ContainerManager Class

Contains methods to manipulate containers. Containers are passwords, forms and documents
Inheritance Hierarchy
SystemObject
  PsrApi.ManagersBaseManager
    PsrApi.ManagersContainerManager

Namespace:  PsrApi.Managers
Assembly:  PsrApi (in PsrApi.dll) Version: 9.2.2.32703 (27.03.2025)+b9af25405a8dc67f2b73227b442cec4f08fd2d8a
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
Determines whether the specified object is equal to the current object.
(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
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(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
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateContainer
Updates the given container and all of its container items if possible.
Top
See Also