|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsoft.tfs.core.httpclient.auth.WindowsUser
public class WindowsUser
Constructor Summary | |
---|---|
WindowsUser(java.lang.String usernameAndOptionalDomain)
Constructs a WindowsUser from the given username (and optionally, domain) string. |
Method Summary | |
---|---|
java.lang.String |
getDomain()
|
java.lang.String |
getUsername()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WindowsUser(java.lang.String usernameAndOptionalDomain)
Constructs a WindowsUser from the given username (and optionally, domain) string. These styles are supported:
If a separator is found at the beginning or end of the input, the username or domain will be considered empty, respectively.
usernameAndOptionalDomain
- the username and optional domain stringMethod Detail |
---|
public java.lang.String getUsername()
public java.lang.String getDomain()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |