AutoRun: IMetabaseAutoRun;
The AutoRun property returns an object of the autorun for the user.
Sub Main;
Var
MB: IMetabase;
User: IMetabaseUser;
Users: IMetabaseUsers;
Id: String;
Begin
MB:=MetabaseClass.Active;
Users:=MB.Security.Users;
User:=Users.Item(0);
Id:=User.AutoRun.Object.Id;
End Sub Main;
After executing this example the identifier of the object that was set by the autorun object is stored in the "Id" variable.
See also: