New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the Community Exchange, where community members ask and answer questions about DNN. To get started, just start typing your question below and either select one of the suggested questions or ask a new question of your own.

How to delete user (that is not currently logged in) from a role?

Return to previous page

  • 2/8/2018
  • 2324 Views

Question:

Victoria Steele 7 years ago

I need to remove a user from a role, this user will be dependent on whatever email my client enters in a textbox. I know certain versions of DeleteUserRole() are deprecated. I need to know how to use this version:

DeleteUserRole(UserInfo objUser, RoleInfo role, PortalSettings portalSettings, bool notifyUser);

properly for my scenario.

How to delete user (that is not currently logged in) from a role?

Victoria Steele
Victoria Steele 7 years ago
Add an Answer

Answers

Sign In to Participate
Or register to become a member