IScmManager.GetEditPermissions method
Namespace: NextDesign.Desktop
Description
Gets editing permissions for all specified units in the specified project.
If the specified project is not linked with the configuration management system, nothing will be done.
Among the specified units, units that already have editing permissions are treated as successful without acquiring permissions.
Among the target units, you can identify the units for which authority was acquired and the units for which authority could not be acquired by checking the authority acquisition result object of the return value.
argument
Name | Type | Description |
---|---|---|
project | IProject | Project |
units | IEnumerable<IModelUnit> | Unit to get permissions |
Return value
Exception
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If a unit outside of project management is specified as the unit to be retrieved |
Configuration management repository operation fails | ExtensionScmException | If configuration management repository operation fails |