public class SOAPPrincipalHelper extends Object
| Constructor and Description |
|---|
SOAPPrincipalHelper() |
| Modifier and Type | Method and Description |
|---|---|
SOAPAttribute |
getAttribute(String name,
SOAPPrincipal principal)
Retrieves the SOAPAttribute belonging to the user
|
String |
getEmail(SOAPPrincipal principal)
Retrieves the email address from the specified user
|
String |
getFirstAttributeValue(String name,
SOAPPrincipal principal)
Retrieves the first attribute from the specified SOAPAttribute belonging to the user
|
String |
getFirstName(SOAPPrincipal principal)
Retrieves the first name from the specified user
|
String |
getFullName(SOAPPrincipal principal)
Retrieves the full name from the specified user
|
String |
getLastName(SOAPPrincipal principal)
Retrieves the last name from the specified user
|
public String getFirstName(SOAPPrincipal principal)
principal - SOAPPrincipalpublic String getLastName(SOAPPrincipal principal)
principal - SOAPPrincipalpublic String getEmail(SOAPPrincipal principal)
principal - SOAPPrincipalpublic String getFullName(SOAPPrincipal principal)
principal - SOAPPrincipalpublic String getFirstAttributeValue(String name, SOAPPrincipal principal)
name - the name of the SOAPAttributeprincipal - SOAPPrincipalpublic SOAPAttribute getAttribute(String name, SOAPPrincipal principal)
name - name of the SOAPAttributeprincipal - SOAPPrincipalCopyright © 2016 Atlassian. All Rights Reserved.