[SoapDocumentMethod ("getUserAndChildrenList", RequestNamespace = "http://user.service.soap.trackstudio.com/",
ResponseNamespace = "http://user.service.soap.trackstudio.com/", Use =SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public userBean [] getUserAndChildrenList (string sessionId, string userId);
When I log in, I get the current user id and the session id and use this method to get a user bean for the current user.
- Code: Select all
User result = null;
foreach (TsUser::userBean ub in Connection.UserService.getUserAndChildrenList (this.sessionId, uid)) {
if (ub.id.Equals (uid)) {
result = User.CreateFromUserBean (ub);
break;
}
}
What I am finding is that recently the array of users returned from this method does not include the current user (the one referenced with the provided uid) - it only contains a list of child users.
This breaks all my code because I don't have a bean for the current user.
I am using TrackStudio host (currently 4.0.17.20120831).
Thanks for any help you can provide.
dennis.