PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
WD - Como tem informações para l`utilisateur localizado no diretório l`Active do Windows?
WD - Como tem informações para l`utilisateur localizado no diretório l`Active do Windows?
Started by BOLLER ADRIANO, Jun., 30 2016 2:30 AM - No answer
Connect yourself…
BOLLER ADRIANO
#1
Registered member
3,660 messages
Popularité : +175 (223 votes)
Posted on June, 30 2016 - 2:30 AM
strInfo est une
chaîne
strFiltre est une
chaîne
=
"(&(objectCategory=person) (objectClass=user) ((sAMAccountName="
+
NOMDUSAGER
+
")))"
strDN
=
LDAPRecherche
(
strSession
,
"DC=compagnie,DC=entreprise"
,
strFiltre
)
SI PAS
ErreurDétectée
(
)
ALORS
SI
strDN
<
>
""
ALORS
strInfo
=
"Nom:"
+
LDAPValeur
(
strSession
,
strDN
,
"sn"
,
1
)
+
RC
strInfo
=
"Prenom:"
+
LDAPValeur
(
strSession
,
strDN
,
"givenName"
,
1
) +
RC
strInfo
=
"Courriel:"
+
LDAPValeur
(
strSession
,
strDN
,
"mail"
,
1
) +
RC
strInfo
=
"sAMAccountName:"
+
LDAPValeur
(
strSession
,
strDN
,
"sAMAccountName"
,
1
) +
RC
strInfo
=
"userPrincipalName:"
+
LDAPValeur
(
strSession
,
strDN
,
"userPrincipalName"
,
1
) +
RC
strInfo
=
"DN:"
+
strDN
+
RC
Info
(
strInfo
)
FIN
FIN
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 9949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Report
0
0
→ Go back to WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text