|
| Update access is denied to current user |
 |
Fri, 17 Mar 2006 18:49:27 GMT |
I am using GroupWise 7, and want to update an appointment using the
GroupWise COM objects.
I am finding that when I try to sent a property - such as the appointment
date - I am getting the error:
Update access is denied to current user.
However the appointment is in the local user's calendar and they can go into
GroupWise and change details of the appointment through the normal client.
Why am I getting the access denied message?
|
| Post Reply
|
| Re: Update access is denied to current user |
 |
Mon, 20 Mar 2006 16:07:59 GMT |
Here is some more information
I am creating a groupwise session
Set gw = CreateObject("NovellGroupWareSession")
and logging in with
gw.Login
To login as the current user. If you access the gw.RootAccount.Owner it will
show you the current user, who you are logged in as.
Now you can sent emails, create appointments etc as this user etc
My problem is that I can't update existing appointments - what else do I
need to do to achieve this?
Example code:
Dim gwApp As GroupwareTypeLibrary.Appointment7
Dim m As GroupwareTypeLibrary.Message3
Dim ml As GroupwareTypeLibrary.MessageList
Dim searchStr As String
searchStr = "(START_DATE >= TODAY -5)"
Set ml= gGw.RootAccount.Calendar.Messages.Find(searchStr)
For Each m In ml
If m.MessageID = msgId Then
If m.className = "GW.MESSAGE.APPOINTMENT" Then
Set gwApp = m
End If
End If
Next m
if not gwApp is nothing then
gwApp.startDate = CDate(strDateTime)
At this point I get the "Update access is denied to current user"
Thanks for any help anyone can give
"Brian Green" <brian.green@tiscali.com> wrote in message
news:XwDSf.4536$_K3.2379@prv-forum2.provo.novell.com...
>I am using GroupWise 7, and want to update an appointment using the
>GroupWise COM objects.
>
> I am finding that when I try to sent a property - such as the appointment
> date - I am getting the error:
>
> Update access is denied to current user.
>
> However the appointment is in the local user's calendar and they can go
> into GroupWise and change details of the appointment through the normal
> client.
>
> Why am I getting the access denied message?
>
|
| Post Reply
|
| Re: Update access is denied to current user |
 |
Tue, 02 May 2006 01:14:02 GMT |
Please post your GW issues to the GW newsgroup. Thanks.
--
Peter
|
| Post Reply
|
|
|
|
|
|
|
|
|
|