ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Workflow.Models.JobModels Namespace / Job Class / CanManageVersions Method
Information on the currentUser

In This Topic
    CanManageVersions Method
    In This Topic
    Determines whether the version can be changed by the current user
    Syntax
    public bool CanManageVersions( 
       UserDetails currentUser
    )
    Public Function CanManageVersions( _
       ByVal currentUser As UserDetails _
    ) As Boolean

    Parameters

    currentUser
    Information on the currentUser

    Return Value

    Whether the version can be changed
    Remarks
    Version can be changed for the job if the current user has the UpdateProperties and ManageVersion privileges. If the job is on hold the user will also require the CanUpdatePropsforHeldJobs privilege.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also