Re: Create nickname, unknown error
Good to know. VS2008 in C# doesn't have optional parameters and I didn't
want to mess around by throwing System.Type.Missing in there.
>>> Dave M<davem@yaletech.com> 6/5/2009 5:50 PM >>>
"Preston Gallwas" <GallwaPA@puyallup.k12.wa.us> wrote in message
news:4A293690.EF10.0076.0@puyallup.k12.wa.us...
I got this working... apparently there might be some overrides in a derived
class or something.
We found that ao.Domain.Name as I originally posted was returning a
different domain (the one I was connecting to). When I changed the admin
object to this
po.Users.Item(owner, po, domain);
rather than
GWSystem.Users.Item(owner,po,domain);
It began working.
I fell into this trap too.
If you are using the users collection in the post office, the po and domain
arguments are optional and not used as the collection only returns the users
in the post office.
Dave M
|