Repository.Project.GetUserAccessibleProjects

Returns an array of NameIDPair objects containing all project names and their IDs from the current repository to which the user has access. Connected user must have Admin permissions to obtain the list of projects for another user. Admin permissions are not required to obtain a list of project for your own account.

Syntax
.Project.GetUserAccessibleProjects(UserLogin)

Parameters
UserLogin
 * Required. String. The user login (domain\user). If the input is empty then the method returns the projects for the currently connected user.

Example
VBA|VB.NET MyRepository Repository MyRepository.ConnectToAccessRepository ListofProjects NameIDPair sUserLogin String sUserLogin = "myDomain\TestUser" ListOfProjects = MyRepository.Project.GetUserAccessibleProjects(sUserLogin)