Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
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.