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
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
1 Answer(s)
-
0
You can use the
ProhibitPermissionAsyncmethod of the UserManager.In fact, the UserManager's
SetGrantedPermissionsAsyncmethod will automatically grant/revoke permissions based on the permissions parameter.Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)