public interface IUser extends IUserSummary
IUser objects are complete and updateable only if they come from the IServer.getUser() method (or are hand-crafted); user objects from other sources are not complete or completable, and nor are they refreshable. Setter methods defined below or on the superclass affect only local values unless a suitable update is done.
IUserSummary.UserType| Modifier and Type | Method and Description |
|---|---|
String |
getJobView() |
String |
getPassword() |
ViewMap<IReviewSubscription> |
getReviewSubscriptions() |
void |
setJobView(String jobView) |
void |
setPassword(String password) |
void |
setReviewSubscriptions(ViewMap<IReviewSubscription> subs) |
void |
update(boolean force)
Updates this user on the Perforce server; if force is
true, force the change (requires super user / admin
privileges to work properly).
|
getAccess, getEmail, getFullName, getLoginName, getPasswordChange, getTicketExpiration, getType, getUpdate, setAccess, setEmail, setFullName, setLoginName, setType, setUpdatecanRefresh, canUpdate, refresh, setServer, update, updateString getPassword()
void setPassword(String password)
String getJobView()
void setJobView(String jobView)
ViewMap<IReviewSubscription> getReviewSubscriptions()
void setReviewSubscriptions(ViewMap<IReviewSubscription> subs)
void update(boolean force)
throws ConnectionException,
RequestException,
AccessException
update in interface IServerResourceforce - if true, force the update of the object on the server.ConnectionException - if the Perforce server is unreachable or is not
connected.RequestException - if the Perforce server encounters an error during
its processing of the requestAccessException - if the Perforce server denies access to the callerCopyright © 2017 Perforce Software. All Rights Reserved.