Discussions

  • 1.  API_AddUserToRole

    Posted 04-08-2019 20:13
    I have an app for which I've added @mycompany.com as a user in a role I've labeled Default.

    That role provides the user access (add/edit) to a table called Profile. 

    When a user adds herself to the table, I want to use a formula URL button to enable the user to add herself to a specific role.

    I'm able to work out the API_AddUserToRole element with the exception of the userid info. 

    I'm unfamiliar with how to parse an API_GetUserInfo call such that I grab the userid and then insert it into the API_AddUserToRole call, i.e. I don't know how to reference a call within a call within a formula URL.

    Might someone be able to point me in the right direction?

    Thanks!