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

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

    Parameters

    currentUser
    Information on the currentUser

    Return Value

    Whether the data workspace can be changed
    Remarks
    Data workspace can be changed for the job if the current user has the UpdateProperties and ManageDataWorkspace 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.0 or higher.
    See Also