# Assign user role depending on Tier

**URL:** <https://www.patreondevelopers.com/t/assign-user-role-depending-on-tier/3154>\
**Category:** Uncategorized\
**Created:** [May 16, 2020, 6:33am UTC](https://www.patreondevelopers.com/t/assign-user-role-depending-on-tier/3154 "2020-05-16T06:33:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sffc](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/sffc/32/1284_2.png) [@sffc](https://www.patreondevelopers.com/u/sffc)\
**Post date:** [May 17, 2020, 5:51pm UTC](https://www.patreondevelopers.com/t/assign-user-role-depending-on-tier/3154/2 "2020-05-17T17:51:11Z")

</div>

Looks like a duplicate of this issue:

> [@Website Features for Certain Tier Members](https://www.patreondevelopers.com/t/website-features-for-certain-tier-members/3081/8):
>
> I had to sign up for an account to say thanks for posting this question! I was struggling to build something similar - a way to query the active tier for the authorized user for the campaign I know about. I only wanted to use the ‘identity’ scope so as not to request too much access. It was working fine to just give me their membership to my campaign but I could not figure out how to get the tier from there - I kept getting access denied. I never would have thought to include memberships.current…

With regard to a test account, the Patreon docs address that here: [API Reference](https://docs.patreon.com/#faqs)

---

_[View the full topic](https://www.patreondevelopers.com/t/assign-user-role-depending-on-tier/3154)._
