0
PhilWynn created
Hi,
I am able to add a permission to a user using method UserManager.GrantPermissionAsync
However, I cannot see a way to remove a permission from a user. Can you advise please?
Regards
1 Answer(s)
-
0
You can use the
ProhibitPermissionAsync
method of the UserManager.In fact, the UserManager's
SetGrantedPermissionsAsync
method will automatically grant/revoke permissions based on the permissions parameter.