Delete and Edit members from a group

HiPlease help me in deleting and editing members from a group.It is a web application. I have to write a agent.

I can add members to a group. But I am unable to edit and delete members from the groups.

Subject: Delete and Edit members from a group

Hi

consider a loop into the members field, such as

function suppMember(doc as NotesDocument, memberName$)

dim rez$(), i%

redim rez$(Ubound(doc.members)-1)

forall m in doc.members

   if (m <> memberName$) then

       rez$(i%)=m

       i%=i%+1

   end if

end forall

redim preserve rez$(i%-1)

suppMember=rez$

end function

and then, in the main procedure, use something like

call doc.replaceItemValue(“members”,suppMember(doc,“CN=John Smith/OU=ACME/O=Looney Tunes”)

This should help, but I have no time to test it, sorry.

ian