History  | 
Impersonate (server files) 
Purpose 
Logs in as the current user running the program in order to access server file data from the context of that user. 
The default starting location is the user's Desktop, not the FCAS gateway account Desktop. The server file will obey all the user's view restrictions and permissions. 
Syntax 
ServerFile.Impersonate 
Example 
Dim sf as ServerFile 
Dim I as Integer 
sf.Impersonate 
sf.OpenFile("") 
Debug sf.ContainerItems 
For I = 0 to sf.ContainerItems-1 
  Debug sf.ContainerField(7,I) 
Next I 
 | ||