mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
turns out Java system property "user.name" is enough
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15157 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
57d3cdea7d
commit
19076873d9
1 file changed
+8
@@ -30,6 +30,14 @@ import com.sun.jna.ptr.IntByReference;
|
||||
public interface Advapi32 extends StdCallLibrary {
|
||||
Advapi32 INSTANCE = (Advapi32) Native.loadLibrary("Advapi32", Advapi32.class, Options.UNICODE_OPTIONS);
|
||||
|
||||
/**
|
||||
* Retrieves the name of the user associated with the current thread.
|
||||
*
|
||||
* <p>
|
||||
* See http://msdn.microsoft.com/en-us/library/ms724432(VS.85).aspx
|
||||
*/
|
||||
boolean GetUserName(char[] buffer, IntByReference lpnSize);
|
||||
|
||||
/*
|
||||
BOOL WINAPI LookupAccountName(
|
||||
LPCTSTR lpSystemName,
|
||||
|
||||
Reference in new issue
Block a user