Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Roles.IsUserInRole Method

Gets a value indicating whether a user is in the specified role.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member IsUserInRole(String) Gets a value indicating whether the currently logged-on user is in the specified role.
Public method Static member IsUserInRole(String, String) Gets a value indicating whether the specified user is in the specified role.
Top

Community Additions

ADD
Show:
© 2015 Microsoft