IScmManager.GetEditPermissions Method
Namespace: NextDesign.Desktop
Description
Gets edit permissions for all units specified in the specified project.
If the specified project is not linked to the configuration management system, nothing will be done.
For the specified units that already have edit permissions, permission acquisition will not be performed and the operation will be treated as successful.
The units that were able to acquire permissions and the units that were not able to acquire permissions can be identified by checking the permission acquisition result object in the returned value.
Arguments
Name | Type | Description |
---|---|---|
project | IProject | Project |
units | IEnumerable<IModelUnit> | Units to get permissions for |
Return value
Exceptions
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | When a unit outside the project management is specified as the unit to be obtained |
Configuration management repository operation failed | ExtensionScmException | When configuration management repository operation failed |