IMetabaseUser.AutoRun

Syntax

AutoRun: IMetabaseAutoRun;

Description

The AutoRun property returns an object of the autorun for the user.

Example

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:

IMetabaseUser