ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Workflow.Models Namespace / ConfigurationManager Class / GetAllUsers() Method
Example

In This Topic
    GetAllUsers() Method
    In This Topic
    Gets the list of Users. This method must be called on the MCT. Use QueuedTask.Run
    Syntax
    public IReadOnlyList<UserInfo> GetAllUsers()
    Public Function GetAllUsers() As IReadOnlyList(Of UserInfo)

    Return Value

    The list of UserInfo for the Users
    Example
    How to get users
    // GetAllUsers returns a list of Workflow Manager users
    var wfCon = await WorkflowModule.ConnectAsync();
    var configManager = wfCon.GetManager<ConfigurationManager>();
    var allUsers = configManager.GetAllUsers();
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also