Reputation: 33741
I am using System.Web.Security Membership and Roles, but since my roles are a hierarchy I built my own functions for IsUserInRole()
and GetRolesForUser()
so I would like to override these two functions in Roles with my functions.
Can someone show me an example of how to do this?
Thanks.
Upvotes: 3
Views: 524