PrivateFolder: IMetabaseObjectDescriptor;
PrivateFolder: Prognoz.Platform.Interop.Metabase.IMetabaseObjectDescriptor;
The PrivateFolder property returns a private folder of the current user.
Executing the example requires a form with a button. Add a link to the Metabase system assembly. The example is an event handler for a button.
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.
The property use in Fore.NET matches with that in Fore.
See also: