LDAP Authentication using .NET

Interested adding externals/plugins from LiveCode and third parties to your LiveCode projects? This is the place to talk about them.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
gepponline
Posts: 91
Joined: Tue Sep 03, 2013 1:53 pm

LDAP Authentication using .NET

Post by gepponline » Thu Feb 05, 2015 2:55 pm

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

MaxV
Posts: 1547
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: LDAP Authentication using .NET

Post by MaxV » Wed Dec 14, 2016 1:55 pm

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
Livecode Wiki: http://livecode.wikia.com
My blog: http://livecodeitalia.blogspot.it
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply

Return to “Using Externals and Plugins”