Base solution for your next web application
Open Closed

How to check Role of the current user #2549


User avatar
0
avanekar02 created

How do i check what roles the current user has been assigned.

regards Anwar


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You can use UserManager's IsInRole or IsInRoleAsync methods.