Domino Code Fragment

Code Name*
API Call to NNOTES.DLL to get User Name
Date*
04/28/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.3.144.127.232
Description*
Makes an API call to retrive the Current User Name
Type*
LotusScript
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
Files/Graphics attachments (if applicable): Code:



(Declarations)
Declare Function SECKFMGetUserName Lib "nnotes.dll" (Byval aname As String) As Integer

Sub Click(Source As Button)  
    Dim username As String*257
    Call SECKFMGetUserName(
username)
    Print
username
End Sub