public PermissionGroups GetLDAPUserGroups(string username) { OutgoingWebResponseContext context = WebOperationContext.Current.OutgoingResponse; context.ContentType = "application/xml"; return(_adapterProvider.GetUserGroups(username)); }