Simply you can access session object via current user object, then you'll have full access to all functions in this object. To do this:
- Dim session As Session = CType(SecuritySystem.CurrentUser, User).Session
 - session.ExecuteSproc("YourSqlProcedure").
 
- Dim paramsOperand As New List(Of OperandValue)
 - Dim session As Session = CType(SecuritySystem.CurrentUser, User).Session
 - Dim curUserOid As Guid = CType(SecuritySystem.CurrentUser, User).Oid
 - paramsOperand.AddRange(New OperandValue() {curUserOid})
 - session.ExecuteSproc("TransferThisPeriodBills", paramsOperand.ToArray)
 

