Page 1 of 1

LDAP Authentication using .NET

Posted: Thu Feb 05, 2015 2:55 pm
by gepponline
Hi!
I'm a beginner and so I'm trying to replicate a software I've made using labview.
In Labview i developed an LDAP authentication using a .NET constructor 'cause there are no specific support for LDAP in labview.
It seems to me that neither in LiveCode there is a native support for LDAP, so i was wandering if it's possible to use a .NET constructor in LiveCode (in labview i use directory entry and directory searcher)
thank you

Re: LDAP Authentication using .NET

Posted: Wed Dec 14, 2016 1:55 pm
by MaxV
You can use this example to write it:

Code: Select all

do theScript as "vbscript"
if the result begins with "error," then 
   put item 2 to -1 of the result into theError
else
  put the result into theADUserInfo ## last name, first name & cr & group & tab & group ...
end if
Where theScript variable contains the VisualBasic code like this: https://gist.github.com/trevordevore/5404613