AddGroupMembers

I’m trying to use the new NotesAdministrationProcess AddGroupMembers method: just cut’n’paste from example, but when running the code I get the error:

“Unable to return Note ID”

here’s the code:

Set adminp = session.CreateAdministrationProcess(“CN=bob6/O=tol”)

Dim utenti(0) As String

utenti(0) = doc.fullName(0)

noteid$ = adminp.AddGroupMembers(“G1”, utenti)

what can be wrong? Can annyone tell me??

Subject: AddGroupMembers

This will work much better if you do like this ;-)=> Dim utenti(1) As String

Subject: AddGroupMembers

Don’t know why, but it works with this modification :

Dim utenti(1) As String

not very clean, but workin’