Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Commnity group admin -> delete USER and not member View modes: 
User avatar
Member
Member
eagleag - 12/20/2010 4:12:27 AM
   
Commnity group admin -> delete USER and not member
Hi,
I want to allow group admin to delete a user (the actual user and NOT ONLY THE MEMBER of the group).

plus, I need to be able to edit one custom field, of this User, from USERS system tables.

this is it -> show user info (only members of group) + delete user + edit one custom field

I know all the options in API, but not sure how to implement.
I've tried gridview, transformation with code in it.

whats the best way to do this?

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 12/21/2010 3:40:11 AM
   
RE:Commnity group admin -> delete USER and not member
Hi,


where do you want this functionality? In CMSDesk -> Tools -> Groups -> Users? Or a custom module? Or a custom web part?

Thank you in advance for the explanation.


Best regards,
Helena Grulichova

User avatar
Member
Member
eagleag - 12/21/2010 3:58:17 AM
   
RE:Commnity group admin -> delete USER and not member
hi,

I want this functionality on the SITE (not cmsdesk), of course the user (admin) will need to login to get to this page.

Its should be a custom webpart which:
1. get all members of current group
2. display theyre info from USERS system table (including some scustom fields)
3. webpart will allow to delete users.
4. webpart will allow to edit one of the fiels the are pulled from USERS table (bool true/false) + one edit done will press update and field will be updated


I know all tese actions can be done using API but wasn't sure what is best way to do it.
I tried using gridview but had many issues.

would like to hear some suggestions on how to approach this issue.

thanks :)

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 12/21/2010 8:16:30 AM
   
RE:Commnity group admin -> delete USER and not member
Hi,


Thank you for your explanation. I would recommend you to see the code of CMSDesk -> Tools -> Groups:

~\CMSModules\Groups\Tools\Members\Member_List.aspx

to take an inspiration. There is a list of members and some actions. It also allows to edit the member.


Best regards,
Helena Grulichova