IMetabase.PrivateFolder

Syntax

PrivateFolder: IMetabaseObjectDescriptor;

Description

The PrivateFolder property returns a private folder of the current user.

Example

Executing the example requires a form with a button. The example is an event handler for a button.

Add a link to the Metabase system assembly.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    MB: IMetabase;
Begin
    MB := MetabaseClass.Active;
    Debug.Write(MB.PrivateFolder.Id + " " + MB.PrivateFolderRoot.Id);
End Sub Button1OnClick;

On executing the example the development environment console displays identifier of private folder of the current user and identifier of the root folder for users' private folders.

See also:

IMetabase