GetProjectsForStationType
What it does
Finds projects where a user has at least one role associated with a particular type of station. For example, if you pass "WT_Validation" as the station type, you will get a list of projects where the user has Verification Operator, Senior Verification Operator, Data Verification Operator or custom role rights.
Definition
Project[] GetProjectsForStationType(int userId, int workstationType)
Parameters
Name | Type | Description |
userId | int | User identifier |
workstationType | int | Station type. See WorkstationType for possible values. |
Returned value
Type | Description |
Project [] | Project list |
Note: "Role—station" associations are currently recorded only for desktop stations and are not available for web stations. If you need to find projects that can be opened, for example, on the Web Verification Station, you must pass "WT_Validation" as the station type, not "WT_WebValidation."
4/12/2024 6:16:02 PM