Small company logo:
   History
 
Advertising banner:
 
 ServerDirectory.OpenDesktop
Home • Help • Customization Tools • FCAS • Language Reference • ServerDirectory.OpenDesktop
 
Purpose
Opens a user's Desktop.
You can access a user directly by index. If the index is out of bounds, a runtime error is generated.
If no index is supplied, FindFirst/FindNext results are assumed.
The server file provided will be open to the Desktop container and can be used like any other opened server file.
Syntax
ServerDirectory.OpenDesktop ( ServerFile [Index] )


Index
The integer that represents the user in the Directory.

Example
Dim sfDesktop as ServerFile
Dim sd as ServerDirectory
sd OpenDesktop (sfDesktop)
sfDesktop.CreateFile ("test item", fcDocument)