SetMbSecResult SetMbSec(MbId tMbSec, SetMbSecArg tArg)
tMbSec. Moniker of the repository connection, which security manager metadata must be changed.
tArg. Parameters, according to which metadata must be changed.
The SetMbSec operation changes security manager metadata.
The operation executes the following actions:
Change the list of users and groups of users of the repository: create, delete and change parameters.
Change groups of users.
Set up user permissions for repository objects.
Change user profiles.
Change security policy settings.
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.
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: