Skip to main content

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

NameTypeDescription
projectIProjectProject
unitsIEnumerable<IModelUnit>Units to get permissions for

Return value

Exceptions

NameException classDescription
Invalid argumentExtensionArgumentExceptionWhen a unit outside the project management is specified as the unit to be obtained
Configuration management repository operation failedExtensionScmExceptionWhen configuration management repository operation failed