Public Member Functions | |
| Security (ProjectServer parent) | |
| Create an instance of Security. | |
| void | CreateCategory (Guid categoryGuid, string name, string description) |
| Create a new security category. | |
| void | CreateCategory (Guid categoryGuid, string name, string description, Guid[] projects, Guid[] resources, Guid[] views, Dictionary< Guid, List< Permission >> userPermissions, Dictionary< Guid, List< Permission >> groupPermissions, ProjectSecurityRules[] projectSecurityRules, ResourceSecurityRules[] resourceSecurityRules) |
| Create a new security category and set security on the category. | |
| void | SetCategoryProjectRules (SecurityCategoriesDataSet categoriesDataSet, Guid categoryGuid, ProjectSecurityRules[] projectSecurityRules) |
| Set category project rules. | |
| void | SetCategoryResourceRules (SecurityCategoriesDataSet categoriesDataSet, Guid categoryGuid, ResourceSecurityRules[] resourceSecurityRules) |
| Set category resource rules. | |
| void | SetCategoryGroupPermissions (SecurityCategoriesDataSet categoriesDataSet, Guid categoryGuid, Dictionary< Guid, List< Permission >> groupPermissions) |
| Set category group permissions. | |
| void | SetCategoryUserPermissions (SecurityCategoriesDataSet categoriesDataSet, Guid categoryGuid, Dictionary< Guid, List< Permission >> userPermissions) |
| Set category user permissions. | |
| void | SetCategoryViews (SecurityCategoriesDataSet categoriesDataSet, Guid categoryGuid, Guid[] views) |
| Set category views. | |
| void | SetCategoryResources (SecurityCategoriesDataSet categoriesDataSet, Guid categoryGuid, Guid[] resources) |
| Set category resources. | |
| void | SetCategoryProjects (SecurityCategoriesDataSet categoriesDataSet, Guid categoryGuid, Guid[] projects) |
| Set category resources. | |
| void | SetResourceAuthorization (Guid resourceGuid, string account, bool isWindowsUser, bool preventAdSynch, Guid adUserGuid) |
| Set resource authorization. | |
Properties | |
| Groups | Groups [get] |
| Dictionary< Guid, string > | Categories [get] |
| Retrieve a dictionary of Category GUIDS and Names from Project Server. | |
| Dictionary< string, Dictionary < Guid, List< object > > > | CategoryPermissions [get] |
| Retrieve a dictionary containing an item for Category Actions and Features, each containing Guids and a list of attributes for each action or feature permission. | |
| Dictionary< string, Dictionary < Guid, List< object > > > | GlobalPermissions [get] |
| Retrieve a dictionary containing an item for Global Actions and Features, each containing Guids and a list of attributes for each action or feature permission. | |
| Dictionary< string, Dictionary < Guid, List< object > > > | OrganizationalPermissions [get] |
| Retrieve a dictionary containing organization permission GUID and an associated list of attributes for each permission. | |
| Dictionary< Guid, string > | Templates [get] |
| Retrieve a dictionary containing template GUIDS and an associated list of attributes for each template. | |
| internal ProjectServer | Parent [get, set] |
Definition at line 23 of file Security.cs.
| Mcs.Epm.MicrosoftProject.mpFx.Security.Security | ( | ProjectServer | parent | ) |
Create an instance of Security.
| parent | Parent Object |
Definition at line 46 of file Security.cs.
| void Mcs.Epm.MicrosoftProject.mpFx.Security.CreateCategory | ( | Guid | categoryGuid, | |
| string | name, | |||
| string | description, | |||
| Guid[] | projects, | |||
| Guid[] | resources, | |||
| Guid[] | views, | |||
| Dictionary< Guid, List< Permission >> | userPermissions, | |||
| Dictionary< Guid, List< Permission >> | groupPermissions, | |||
| ProjectSecurityRules[] | projectSecurityRules, | |||
| ResourceSecurityRules[] | resourceSecurityRules | |||
| ) |
Create a new security category and set security on the category.
| categoryGuid | The GUID of the new category | |
| name | The category's name | |
| description | A description of the category | |
| projects | An array of project GUIDs to associate with the category | |
| resources | An array of resource GUIDs to associate with the category | |
| views | An array of view GUIDs to associate with the category | |
| userPermissions | A dictionary containing resource GUIDs and a list of permission to associate with the category | |
| groupPermissions | A dictionary containing group GUIDs and a list of permission to associate with the category | |
| projectSecurityRules | An array of project security rules to associate with the category | |
| resourceSecurityRules | An array of resource security rules to associate with the category |
Definition at line 269 of file Security.cs.
| void Mcs.Epm.MicrosoftProject.mpFx.Security.CreateCategory | ( | Guid | categoryGuid, | |
| string | name, | |||
| string | description | |||
| ) |
Create a new security category.
| categoryGuid | The GUID of the new category | |
| name | The category's name | |
| description | A description of the category |
Definition at line 238 of file Security.cs.
| void Mcs.Epm.MicrosoftProject.mpFx.Security.SetCategoryGroupPermissions | ( | SecurityCategoriesDataSet | categoriesDataSet, | |
| Guid | categoryGuid, | |||
| Dictionary< Guid, List< Permission >> | groupPermissions | |||
| ) |
Set category group permissions.
| categoriesDataSet | The dataset to modify | |
| categoryGuid | The category's GUID | |
| groupPermissions | A dicionary containing group GUID an a list of permissions for reach gruop |
Definition at line 360 of file Security.cs.
| void Mcs.Epm.MicrosoftProject.mpFx.Security.SetCategoryProjectRules | ( | SecurityCategoriesDataSet | categoriesDataSet, | |
| Guid | categoryGuid, | |||
| ProjectSecurityRules[] | projectSecurityRules | |||
| ) |
Set category project rules.
| categoriesDataSet | The dataset to modify | |
| categoryGuid | The category's GUID | |
| projectSecurityRules | An array of project security rules to associate with the category |
Definition at line 316 of file Security.cs.
| void Mcs.Epm.MicrosoftProject.mpFx.Security.SetCategoryProjects | ( | SecurityCategoriesDataSet | categoriesDataSet, | |
| Guid | categoryGuid, | |||
| Guid[] | projects | |||
| ) |
Set category resources.
| categoriesDataSet | The dataset to modify | |
| categoryGuid | The category's GUID | |
| projects | An array of project GUIDS to associate with the category |
Definition at line 488 of file Security.cs.
| void Mcs.Epm.MicrosoftProject.mpFx.Security.SetCategoryResourceRules | ( | SecurityCategoriesDataSet | categoriesDataSet, | |
| Guid | categoryGuid, | |||
| ResourceSecurityRules[] | resourceSecurityRules | |||
| ) |
Set category resource rules.
| categoriesDataSet | ||
| categoryGuid | The category's GUID |
| resourceSecurityRules | An array of resource security rules to associate with the category |
Definition at line 338 of file Security.cs.
| void Mcs.Epm.MicrosoftProject.mpFx.Security.SetCategoryResources | ( | SecurityCategoriesDataSet | categoriesDataSet, | |
| Guid | categoryGuid, | |||
| Guid[] | resources | |||
| ) |
Set category resources.
| categoriesDataSet | The dataset to modify | |
| categoryGuid | The category's GUID | |
| resources | An array of resource GUIDS to associate with the category |
Definition at line 466 of file Security.cs.
| void Mcs.Epm.MicrosoftProject.mpFx.Security.SetCategoryUserPermissions | ( | SecurityCategoriesDataSet | categoriesDataSet, | |
| Guid | categoryGuid, | |||
| Dictionary< Guid, List< Permission >> | userPermissions | |||
| ) |
Set category user permissions.
| categoriesDataSet | The dataset to modify | |
| categoryGuid | The category's GUID | |
| userPermissions | A dicionary containing group GUID an a list of permissions for reach gruop |
Definition at line 402 of file Security.cs.
| void Mcs.Epm.MicrosoftProject.mpFx.Security.SetCategoryViews | ( | SecurityCategoriesDataSet | categoriesDataSet, | |
| Guid | categoryGuid, | |||
| Guid[] | views | |||
| ) |
Set category views.
| categoriesDataSet | The dataset to modify | |
| categoryGuid | The category's GUID | |
| views | An array of view GUIDS to associate with the category |
Definition at line 444 of file Security.cs.
| void Mcs.Epm.MicrosoftProject.mpFx.Security.SetResourceAuthorization | ( | Guid | resourceGuid, | |
| string | account, | |||
| bool | isWindowsUser, | |||
| bool | preventAdSynch, | |||
| Guid | adUserGuid | |||
| ) |
Set resource authorization.
| resourceGuid | The GUID of the resource to set authorization for | |
| account | The account "DOMAIN\USERNAME" format if isWindowsUser=true | |
| isWindowsUser | Indicates whether the account is a Windows account | |
| preventAdSynch | True to prevent AD synch, false to not prevent it | |
| adUserGuid | The objectGUID of the Active Directory user to associate with the authorization |
Definition at line 516 of file Security.cs.
Dictionary<Guid, string> Mcs.Epm.MicrosoftProject.mpFx.Security.Categories [get] |
Retrieve a dictionary of Category GUIDS and Names from Project Server.
Definition at line 76 of file Security.cs.
Dictionary<string, Dictionary<Guid, List<object> > > Mcs.Epm.MicrosoftProject.mpFx.Security.CategoryPermissions [get] |
Retrieve a dictionary containing an item for Category Actions and Features, each containing Guids and a list of attributes for each action or feature permission.
Definition at line 100 of file Security.cs.
Dictionary<string, Dictionary<Guid, List<object> > > Mcs.Epm.MicrosoftProject.mpFx.Security.GlobalPermissions [get] |
Retrieve a dictionary containing an item for Global Actions and Features, each containing Guids and a list of attributes for each action or feature permission.
Definition at line 121 of file Security.cs.
Dictionary<string, Dictionary<Guid, List<object> > > Mcs.Epm.MicrosoftProject.mpFx.Security.OrganizationalPermissions [get] |
Retrieve a dictionary containing organization permission GUID and an associated list of attributes for each permission.
Definition at line 142 of file Security.cs.
Dictionary<Guid, string> Mcs.Epm.MicrosoftProject.mpFx.Security.Templates [get] |
Retrieve a dictionary containing template GUIDS and an associated list of attributes for each template.
Definition at line 199 of file Security.cs.
1.5.8