public interface IUserSummary extends IServerResource
Fields and methods below are basically self-explanatory and more detailed documentation can be found in the main p4 documentation. Note that any or all of these methods are allowed to return null.
IUserSummary objects are complete and neither refreshable nor updateable.
Modifier and Type | Interface and Description |
---|---|
static class |
IUserSummary.UserType
Describes the type (service or standard) of this user.
|
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getAccess() |
java.lang.String |
getEmail() |
java.lang.String |
getFullName() |
java.lang.String |
getLoginName() |
java.util.Date |
getPasswordChange()
Get the date the password associated with this summary user expires.
|
java.util.Date |
getTicketExpiration()
Get the date the ticket associated with this summary user expires.
|
IUserSummary.UserType |
getType()
Get the UserType associated with this user.
|
java.util.Date |
getUpdate() |
void |
setAccess(java.util.Date access) |
void |
setEmail(java.lang.String email) |
void |
setFullName(java.lang.String fullName) |
void |
setLoginName(java.lang.String loginName) |
void |
setType(IUserSummary.UserType type)
Set the UserType associated with this user.
|
void |
setUpdate(java.util.Date update) |
canRefresh, canUpdate, clearRawFields, complete, getRawField, getRawFields, hasRawField, refresh, setRawField, setRawFields, setServer, update, update, update
java.lang.String getLoginName()
void setLoginName(java.lang.String loginName)
java.util.Date getUpdate()
void setUpdate(java.util.Date update)
java.util.Date getAccess()
void setAccess(java.util.Date access)
java.lang.String getFullName()
void setFullName(java.lang.String fullName)
java.lang.String getEmail()
void setEmail(java.lang.String email)
IUserSummary.UserType getType()
void setType(IUserSummary.UserType type)
type
- typejava.util.Date getTicketExpiration()
This field will only be non-null if a) the user summary object it's a part of was retrieved using the IOptionsServer.getUsers method with the GetUsersOptions().setExtendedOutput option set to true; b) the caller was a super-user or admin; and, c) the Perforce server was 2011.1 or above. In all other cases the value of this field is either null or not reliable.
This is a read-only field synthesized by the Perforce server, and can not be meaningfully set in the client.
java.util.Date getPasswordChange()
This field will only be non-null if a) the user summary object it's a part of was retrieved using the IOptionsServer.getUsers method with the GetUsersOptions().setExtendedOutput option set to true; b) the caller was a super-user or admin; and, c) the Perforce server was 2011.1 or above. In all other cases the value of this field is either null or not reliable.
This is a read-only field synthesized by the Perforce server, and can not be meaningfully set in the client.