Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Windows API: Getting domain name from user name 2003-03-09 -- Jim Kane Newsgroups: comp.lang.clarion
If you want to get the domain name from the user name there are two way
1. On NT or higher lookupaccountname() api. you will have to call by
address or make a lib
2. There is sample code on msdn in c about how to use the spi api to get
that info and that code runs on all os. I compiled the msdn sample and call
the resulting dll from a clarion program but never converted it to clarion
code.
jim kane
"Dede"
Today is November 21, 2024, 7:02 am This article has been viewed 35225 times. Google search has resulted in 57 hits on this article since January 25, 2004.
|
|