Domino Code Fragment

Code Name*
API Call to NNOTES.DLL to get User Name
Date*
06/28/2025
Source (or email address if you prefer)*
[email protected]
IP address:.172.70.194.134
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