Skip to main content

IScmManager.GetEditPermission method

Namespace: NextDesign.Desktop

Description

Gets edit permissions for the specified unit in the specified project.
Nothing will be done if the specified project is not linked to the configuration management system.

If the specified unit already has editing authority, it will be treated as successful without obtaining authority.
Whether or not the unit was able to acquire authority can be identified by checking the authority acquisition result object of the return value.

argument

NameTypeDescription
projectIProjectProject
unitIModelUnitUnit to get permissions

Return value

Exceptions

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionWhen a unit outside the project management is specified as the unit to be acquired
Configuration Management Repository Operation FailedExtensionScmExceptionIf Configuration Management Repository Operation Failed