1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / User service - how can i access ldap users? or service not working as expected

User service - how can i access ldap users? or service not working as expected

3 posts, 0 answered
  1. Rory
    Rory avatar
    44 posts
    Registered:
    22 Mar 2012
    26 Apr 2012
    Link to this post
    hello.  i am trying to pull down a list of ldap users from siteifinity with the user service: 
    http://localhost:60876/Sitefinity/services/Security/Users.svc/all/?provider%3d{ldapusers}  
    or
    http://localhost:60876/Sitefinity/services/Security/Users.svc/?provider%3d{ldapusers}

    but it only returns the 2 siteifnity users and not the ldap users, despite there being 12 ldap users in the system as shown by this service:
    http://localhost:60876/Sitefinity/services/Security/Users.svc/GetUserProviders/ 
    [{"NumOfUsers":14,"UserProviderName":"","UserProviderTitle":"All Users"},{"NumOfUsers":2,"UserProviderName":"Default","UserProviderTitle":"Default"},{"NumOfUsers":12,"UserProviderName":"LdapUsers","UserProviderTitle":"LdapUsers"}],"TotalCount":0}

    anyone have any ideas on why the ldaps aren't getting pulled?  is it a security thing or setting thing? i looked at the ldap service settings but could not find anything that looked helpful in this situation.

  2. Rory
    Rory avatar
    44 posts
    Registered:
    22 Mar 2012
    10 May 2012
    Link to this post
    bumpity.

    has no one used this service?  this is for Sitefinity 5.

    we have spent many days just trying to create a basic user selector control and it relies on this service to get its data.
  3. Rory
    Rory avatar
    44 posts
    Registered:
    22 Mar 2012
    18 May 2012
    Link to this post
    still no info on whether the users.svc can retrieve ldapusers?
3 posts, 0 answered