Hi all,

We're trying to remove all aliases and create nicknames for them instead. I
realize the alias part can't be done via the Admin Object API (grrrrr!!!!!)
but at least the nickname piece can. I can add a new users, however, I am
not able to add nicknames. I am receiving "An unknown error occurred".

[STAThread]
static void Main(string[] args)
{
try
{
AdminTypeLibrary.System GWSystem = new
AdminTypeLibrary.System();
string strPath = @"\\fs\vol1\gw\dom\primary ( file://\fs)";
GWSystem.Connect(strPath);
AdminTypeLibrary.AdminObject ao =
(AdminTypeLibrary.AdminObject)GWSystem.Users.Item( "gall", "PO1",
"Primary");
Console.WriteLine(ao.Name);
GWSystem.Nicknames.Add("testgall1234",
ao,ao.PostOffice,ao.Domain);
}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
}
}


When I try to supply strings like so

GWSystem.Nicknames.Add("testgall1234", ao,"PO1","Primary");


as documented at
http://developer.novell.com/document...a/hr1myg2u.htm
l I receive "An invalid argument was passed in the function call"




On another note, can the Groupwise API Gateway do a bulk-remove of all
aliases? I really was trying to avoid installing it(I hate the way it works
with its voodoo text file monitor) but we have about 3000 aliases to
remove.