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

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

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

    Hi,

    You can use UserManager's IsInRole or IsInRoleAsync methods.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)