<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Retreive User's/Group's Csutom Infos from LDAP in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/retreive-user-s-group-s-csutom-infos-from-ldap/m-p/35087#M14809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We configured APS to be synced with LDAP (Active Directory).&lt;BR /&gt;We want to get some extra infos from LDAP like the manager, phone number, address... of a specific user.&lt;/P&gt;&lt;P&gt;We planned to create a spring bean (@Component) with couple of functions that retrun a serializable User (Custom class) object which contains all required infos of the user:&lt;/P&gt;&lt;PRE class="language-java line-numbers"&gt;&lt;CODE&gt;@Component&lt;BR /&gt;pulic &lt;SPAN class="keyword token"&gt;class&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;LDAPUserService&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;	&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;	&lt;SPAN class="keyword token"&gt;public&lt;/SPAN&gt; User &lt;SPAN class="token function"&gt;getUserByEmail&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;String email&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;		User user &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;User&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;		&lt;SPAN class="comment token"&gt;//Connect to LDAP&lt;/SPAN&gt;&lt;BR /&gt;		&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;		&lt;BR /&gt;		&lt;SPAN class="comment token"&gt;//Get user infos using some LDAP search query&lt;/SPAN&gt;&lt;BR /&gt;		&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;		&lt;BR /&gt;		&lt;SPAN class="comment token"&gt;//Get the result and prepare the user instance&lt;/SPAN&gt;&lt;BR /&gt;		&lt;BR /&gt;		&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; user&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;	&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;BR /&gt;	&lt;BR /&gt;	&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;We want to know if this is the best way to ge such infos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Makram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Apr 2019 08:28:06 GMT</pubDate>
    <dc:creator>makram_baaziz</dc:creator>
    <dc:date>2019-04-29T08:28:06Z</dc:date>
    <item>
      <title>Retreive User's/Group's Csutom Infos from LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/retreive-user-s-group-s-csutom-infos-from-ldap/m-p/35087#M14809</link>
      <description>Hello,We configured APS to be synced with LDAP (Active Directory).We want to get some extra infos from LDAP like the manager, phone number, address... of a specific user.We planned to create a spring bean (@Component) with couple of functions that retrun a serializable User (Custom class) object whi</description>
      <pubDate>Mon, 29 Apr 2019 08:28:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/retreive-user-s-group-s-csutom-infos-from-ldap/m-p/35087#M14809</guid>
      <dc:creator>makram_baaziz</dc:creator>
      <dc:date>2019-04-29T08:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Retreive User's/Group's Csutom Infos from LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/retreive-user-s-group-s-csutom-infos-from-ldap/m-p/35088#M14810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;An easier way to do this without having to modify core product areas would be to&amp;nbsp;implement a service task, that gets the external ID for a user by the user ID. This external ID could then be used to query LDAP in that service task and retrieve the properties and you could set those as process variables then...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Raphael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2019 15:17:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/retreive-user-s-group-s-csutom-infos-from-ldap/m-p/35088#M14810</guid>
      <dc:creator>rallegre</dc:creator>
      <dc:date>2019-05-07T15:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Retreive User's/Group's Csutom Infos from LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/retreive-user-s-group-s-csutom-infos-from-ldap/m-p/35089#M14811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Raphael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2019 07:40:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/retreive-user-s-group-s-csutom-infos-from-ldap/m-p/35089#M14811</guid>
      <dc:creator>makram_baaziz</dc:creator>
      <dc:date>2019-05-21T07:40:16Z</dc:date>
    </item>
  </channel>
</rss>

