amazon-cognito-identity-dart-2
amazon-cognito-identity-dart-2 copied to clipboard
is there an example to get the IAM role assigned to a user?
I was reading here and there seems to be groups for UserPools. https://docs.aws.amazon.com/cognito/latest/developerguide/role-based-access-control.html I want to pull out the IAM role so once logged in I can control access to parts of my app depending on the user's role. Is this possible?