ArcGIS Pro 2.8 API Reference Guide
CanManageDataWorkspace Method

ArcGIS.Desktop.Workflow.Models.JobModels Namespace > Job Class : CanManageDataWorkspace Method
Information on the currentUser
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 10, Windows 8.1

See Also

Reference

Job Class
Job Members