Hello All,
I have the following, for an webapplication I user membership roles. Users are added or removed from a role.
I have two things i am wondering how to accomplish.
The first: New or exisiting users have assigned roles for their accounts. This roles can be selected or deselected from a checkbox (when the users is created or edited) . I want to build some routine or function to see if a users is part of a role or if he is assigned a new role. When, in edit mode, a users is part of a role the particular checkbox has to be checked, or if he isn't unchecked. Of course I want to call a function to do that so I don;t have to write the if then statement for all roles, but just one time. I think this should be a public function to call from all pages within the appication, but whatever i try, it doesnt work. I have written a function in a apart classfile called functions.vb. But the roles syntax isn't recognized. Herby t ...
Go to the complete details ...