IMetabaseSecurity.UpdateUsers

Syntax

UpdateUsers(Value: IMetabaseUsersUpdate);

Parameters

Value is a list of the user, for which the information has to be updated.

Description

The UpdateUsers method updates information about the users, whose list is passed by the Value parameter.

Example

Sub Main;

Var

MB: IMetabase;

Sec: IMetabaseSecurity;

Users: IMetabaseUsers;

User: IMetabaseUser;

UsUpdate: IMetabaseUsersUpdate;

Begin

MB := MetabaseClass.Active;

Sec := MB.Security;

Users := Sec.Users;

UsUpdate := Sec.CreateUsersUpdate;

For Each User In Users Do

UsUpdate.Add(User);

End For;

Sec.UpdateUsers(UsUpdate);

End Sub Main;

After executing this example information about all users created in current repository is updated.

See also:

IMetabaseSecurity