Hi Experts,
I see below in dm_event_sender.ebs. I would like to invoke dmAPIGet but my question is how does following 2 lines work without passing password.

I have written following function and it is not able to get session if I use above 2 lines from existing code. I would like to execute one api from dm_event_sender without explicitly mentioning password in the file.
Function TestJob(docbaseName As String, docbaseUserName As String, docbaseUserPassword As String)
Dim SessionID As String
Dim result as String
Dim status As Integer
Dim userOSName As String
userOSName = dmAPIGet("get,apisession,apiconfig,r_process_user_name")
sess = dmAPIGet("connect," & docbaseName & "," & userOSName & ",")
If SessionID = "" Then
Print "notconenct"
Print dmAPIGet("getmessage,a")
DmExit(-1)
Else
result = dmAPIGet("apply,c,NULL,DO_METHOD,METHOD,S,PwcSendPRTSNotification,ARGUMENTS,S,-docbase_name rmsprdus -username devadmin -r_object_id 09011cd7806f7c76")
Print dmAPIGet("getmessage,a")
status = dmAPIExec("disconnect,c")
End If
End Function