Sign in to submit new ideas and vote
Get Started

User Report - Pending Invitations

Options

I would like to see a report in Resource Management that shows which users have accepted their invitations, and which ones are pending. This would make it easier to follow up with users who may be having difficulty joining.

3
3 votes

Idea Submitted · Last Updated

Comments

  • TWager
    TWager âś­âś­
    Options

    Yes, please! This should be a requirement for an enterprise-level customer.

  • Coin Graham
    Options

    I'm using the API for this:

    def pending():
        # Getting the users to check for pending status
        email_result = requests.get("{}{}".format(BASEURL, USERS_API),
                                    headers={'Content-Type': 'application/json', 'auth': '{}'.format(ACCESS_TOKEN)})
    
        # Get the json object from the response
        user_list_result = email_result.json()
    
        # Find users with pending invitations and print them
        for user in user_list_result["data"]:
            if user["invitation_pending"]:
                print("User {} still has an invitation pending.".format(user["display_name"]))
    
        return 'Pending Invitation Report Completed'