UpdateUsers(Value: IMetabaseUsersUpdate);
Value is a list of the user, for which the information has to be updated.
The UpdateUsers method updates information about the users, whose list is passed by the Value parameter.
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: