Object: IMetabaseObjectDescriptor;
The Object property determines an object that will be launched automatically when user connects to the repository.
Sub Main;
Var
MB: IMetabase;
Users: IMetabaseUsers;
Id: string;
Begin
MB := MetabaseClass.Active;
Users := MB.Security.Users;
Id := Users.Administrator.AutoRun.Object.Id;
End Sub Main;
After executing this example the "Id" variable contains identifier of the object that was set by the autorun object for the administrator.
See also: