03-24-2015 11:21 AM
Hi
I spotted this small inconcistency:
If we use the method in LdapUser that just imports the user
public static WebCallResult ImportLdapUser(ConnectionServerRest pConnectionServer, string pTemplateAlias,
string pPkid, string pAlias, string pFirstName, string pLastName,
string pExtension,ConnectionPropertyList pPropList)
Then the WebCallResult.ReturnedObjectId will be the objectId of the created mailbox.
If we use the override that returns the user proper, the returned WebCallResult will be from the request to extract the mailbox and thus has ReturnedObjectId = null,
If we compare that this UserBase.AddUser which also has an override to return a UserFull after creation, the method does fill in the ReturnedObjectId:
if (res.Success)
{
res = UserFull.GetUser(pConnectionServer, res.ReturnedObjectId, out pUserFull);
//stuff the objectID back in the res structure since we took overwrote it with the GetUser fetch.
res.ReturnedObjectId = pUserFull.ObjectId;
}
I think both methods should offer the same functionality.
Cheers
Stephan
04-10-2015 02:26 PM
Hi,
We will look into it and get back to you.
Thanks,
04-13-2015 01:47 PM
This has been brought to the attention of the concerned team. Thanks!
04-27-2015 02:44 AM
Is there a bug id to track this?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide