Skip to main content
May 31, 2024
Question

Administrator list

  • May 31, 2024
  • 3 replies
  • 1 view

Hi team,

How can we get the list of system administrators on Appian. Is there a group to get this list.

The users that are part of "Designer", is only admins?

    3 replies

    stefanhelzle0001
    Brainy
    May 31, 2024

    You can create a group and add all sys admins using a membership rule.

    jayaprakashr0001
    Participating Frequently
    May 31, 2024

    In the designers Groups systems admins are added directly when you create an account in appian. 

    In designers group basic users can also be there . They don't have the admin access but they can access the o applications with necessary permissions in the application.

    Below code will help you to get the list of admin users. 

    a!localVariables(
      local!users: getallusers(0,-1),
      reject(fn!isnull,a!forEach(
        items: local!users,
        expression: if(
          user(fv!item,"userTypeName")="Administrator",
          fv!item,
          null()
        )
      ))
    )

    shubhama926776
    Brainy
    May 31, 2024

    Hello [mention:b76d2763698d4903be0a9d84166776d9:e9ed411860ed4f2ba0265705b8793d05] 

    https://community.appian.com/b/appmarket/posts/people-functions---plug-in

    Install(Deploy) the "People Functions" plugin from the Appian Marketplace.
    Use the getAllUsers() function to retrieve all users.
    Iterate through the users and use isUserSystemAdministrator() function to identify admins. 

    शुभम्