cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
high_greed
Regular Visitor

Get user security role

Hi ,

I have created roles with dynamics on my powerapps to give diferent access to my users, but i don't know how to get them from the formulas.

I tried with connector PowerAppsforAppMakers but the result isn't what i expected, i also tried with power automate but there is not any doc. Is there a way to get role ?

Best regards

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-siky-msft
Community Support
Community Support

@high_greed 

 

Security roles are stored in 'Security Role' entity, which has N:N relationship to Users entity.

You can use a gallery to show all security roles as follows:

Snipaste_2020-01-21_10-42-43.png

You also can use Relate and UnRelate function to assign and remove the security roles. For more reference, please check this video.

Managing D365 Security Roles via PowerApps  .

Snipaste_2020-01-21_10-46-32.png

Sik

 

 

View solution in original post

1 REPLY 1
v-siky-msft
Community Support
Community Support

@high_greed 

 

Security roles are stored in 'Security Role' entity, which has N:N relationship to Users entity.

You can use a gallery to show all security roles as follows:

Snipaste_2020-01-21_10-42-43.png

You also can use Relate and UnRelate function to assign and remove the security roles. For more reference, please check this video.

Managing D365 Security Roles via PowerApps  .

Snipaste_2020-01-21_10-46-32.png

Sik

 

 

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (4,188)