Skip to main content

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

NameTypeDescription
projectIProjectProject
unitsIEnumerable<IModelUnit>Unit to get permissions

Return value

Exception

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf a unit outside of project management is specified as the unit to be retrieved
Configuration management repository operation failsExtensionScmExceptionIf configuration management repository operation fails