SppGetProjectsForCurrentUser
Returns an Array of Projects with information that the current user has access to.
Syntax
SppGetProjectsForCurrentUser()
Where:
There are no arguments for this function.
Example
Rule | Meaning |
---|
SppGetProjectsForCurrentUser() | Will return an Array of all Projects, with information, that the current user has access to. |
This function returns the following information:
- Project Name - The names of the projects the user has access to.
- Project Location Path - The location of the projects the user has access to.
- Project Alias - The alias of the project. See Project Image, Name and Description for more information.
- Project Image Path - The path to the image to use in DriveWorks Live. See Project Image, Name and Description for more information.
- Project Metro Image Path - The path to the image to use, for the Tiled Fluid and Carbon Fluid Skins, in DriveWorks Live. See Project Image, Name and Description for more information.
Example Text File Created
{"Project Name","Project Location","Project Alias","Project Image","Project Metro Image";
"MyProject","D:\DriveWorks\ProjectA","Configure Project","D:\DriveWorks\ProjectA\liveprojectimage.png","D:\DriveWorks\ProjectA\liveprojectimage.Metro.png"}