I am attempting to use the WorkSite API to do some low-level security evaluation and mirroring for our departing users, but I seem to have hit a major roadblock when executing a workspace search.
Is it possible to search for only private workspaces (with or without user context)? Returning all workspaces and iterating through them to compare security is simply not feasible. Adding DefaultSecurity values to the ProfileSearchParameters and WorkSpaceSearch parameters fails:
- Adding security to the profile search parameters throws an exception on Add():
- [NRTSearchParameters ][Add ]Search is not allowed for AttributeID 17
- Adding security to the workspace search parameters throws an exception on SearchWorkspaces()
- [NRTSession ][SearchPages ]Invalid parameter for request
Is this type of search really not possible? Any suggestions would be greatly appreciated.