We help IT Professionals succeed at work.

Code example of windows api function in forms 6

paulohare
paulohare asked
on
Hi

I want to call a windows api function to retrieve the username of the currently logged on user (not the db username). I have searched the help and found some pieces of information but a code example of the above function or similar would be appreciated.

Thanks in advance

Paul O'Hare
Comment
Watch Question

Commented:
Forms 6i has a supplied package named ORA_FFI which can be used to call foreign functions from Forms.  You might want to research this particular package.  Forms Help has several code examples on how to use this package (search for ORA_FFI).

Author

Commented:
Thanks for the info, spotted this myself and was hoping for an easier way or maybe someone has someone has already wrapped this functionality.

Commented:

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
 - PAQ'd and pts refunded
Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
Commented:
Question has been closed as per recommendation

JGould-EE Moderator

Explore More ContentExplore courses, solutions, and other research materials related to this topic.