Kingsley E Fernandes 28.Feb.12 01:38 AM a Web browser Notes ClientAll ReleasesAll Platforms
In LotusScript, how do I reference a DLL created from a .NET program. Then onwards, how do I initialize an object so that a function can be invoked from that object?
For eg., I can get a DLL of a .NET program with the following function:
Public Function SetPassword(ByVal DomainName As String, ByVal UserName As String, ByVal newPassword As String, ByRef Status As String, ByRef StatusDescription As String)
The .NET program uses the function from a "User" object as follows:
Dim user As New ActiveDirectory.ADSManager
If strReqType = "R" And StrCoAprStatus.Trim = "A" And strAprStatus = "A" And StrUsIdSelected = "Y" Then
user.SetPassword(SDomainName, sUserName, strRandamPassword, sStatus, sStatusDesc)
End If