SetMbSec

Syntax

SetMbSecResult SetMbSec(MbId tMbSec, SetMbSecArg tArg)

Parameters

tMbSec. Moniker of the repository connection, which security manager metadata must be changed.

tArg. Parameters, according to which metadata must be changed.

Description

The SetMbSec operation changes security manager metadata.

Comments

The operation executes the following actions:

Before changing metatdata one should check out license to work with the security manager. To do this, execute the OpenMbLicense operation with the Adm license type.

To execute the SetMbSec operation, in the tMbSec field specify repository connection moniker, and in the tArg.pattern field specify the pattern that will be used to change metadata. In the tArg.meta field specify changed metadata.

The operation results in the updated metadata of the security manager, if the tArg.metaGet field was defined.

After finishing work with the security manager, check in the license. To do this, execute the CloseMbLicense operation.

Example

Various methods of using the operation are given in the following examples:

Example name
Creating a User
Adding a Domain User
Changing User Parameters
Deleting User
Editing Access Permissions to Object
Changing User Profile
Setting Up Security Policy

See also:

Common Operations