Ah, just the person I was hoping would answer. I see in the last script how you've declared <result> in VBScript, but I believe this below script is also your script and <result> is not declared, you simple check LC's own 'the result'.
(line wraps are probably all over the place) ############## put the uActiveServerLoginVBScript of me into theScript replace "[[Domain]]" with theConfigA["settings"]["credential provider domain"] in theScript -- "directory.something.corp:389" replace "[[Query]]" with theConfigA["settings"]["credential provider query"] in theScript -- "ou=Users,dc=something,dc=corp" replace "[[Username]]" with pProjectA["credentials"]["login"] in theScript replace "[[Password]]" with wgdb_decryptString(pProjectA["credentials"]["password"]) in theScript replace "[[UserKey]]" with theConfigA["settings"]["credential provider user query key"] in theScript 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 ... -- CN=<value>,OU=Groups,DC=<company>,DC=corp end if ############## So again this leave me wonder as to the real situation with Windows? Can it be like OS X where you simply check LC's 'the result' ? On Windows how do you know when you NEED to declare <result> in VBScript and when you don't ? _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode