IMetabaseAutoRun.Object

Syntax

Object: IMetabaseObjectDescriptor;

Description

The Object property determines an object that will be launched automatically when user connects to the repository.

Example

Sub UserProc;
Var
    Mb: IMetabase;
    Users: IMetabaseUsers;
    Id: string;
Begin
    Mb := MetabaseClass.Active;
    Users := Mb.Security.Users;
    Id := Users.Administrator.AutoRun.Object.Id;
End Sub UserProc;

After executing the example the "Id" variable contains identifier of the object that was set by the autorun object for the administrator.

See also:

IMetabaseAutoRun