public class UserId
extends java.lang.Object
| Constructor and Description |
|---|
UserId()
Initializes a new instance of the UserId class.
|
UserId(StandardUser standardUser)
Initializes a new instance of the UserId class.
|
UserId(java.lang.String primarySmtpAddress)
Initializes a new instance of the UserId class.
|
UserId(java.lang.String primarySmtpAddress,
java.lang.String displayName)
Initializes a new instance of the UserId class.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayName()
Gets the display name of a folder, contact, distribution list, or delegate user.
|
java.lang.String |
getPrimarySmtpAddress()
Gets the primary Simple Mail Transfer Protocol (SMTP) address of an account to be used for delegate access.
|
java.lang.String |
getSid()
Gets the security descriptor definition language (SDDL) form of the security identifier (SID).
|
StandardUser |
getStandardUser()
Gets Anonymous and Default user accounts for delegate access.
|
void |
setDisplayName(java.lang.String displayName)
Sets the display name of a folder, contact, distribution list, or delegate user.
|
void |
setPrimarySmtpAddress(java.lang.String primarySmtpAddress)
Sets the primary Simple Mail Transfer Protocol (SMTP) address of an account to be used for delegate access.
|
void |
setSid(java.lang.String sid)
Sets the security descriptor definition language (SDDL) form of the security identifier (SID).
|
void |
setStandardUser(StandardUser standardUser)
Sets Anonymous and Default user accounts for delegate access.
|
java.lang.String |
toString()
Converts the value of the current UserId object to its equivalent string representation.
|
public UserId()
public UserId(java.lang.String primarySmtpAddress)
primarySmtpAddress - the primary smtp addresspublic UserId(java.lang.String primarySmtpAddress,
java.lang.String displayName)
primarySmtpAddress - the primary smtp addressdisplayName - the display namepublic UserId(StandardUser standardUser)
standardUser - the standard userpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getSid()
public void setSid(java.lang.String sid)
sid - the new sidpublic java.lang.String getPrimarySmtpAddress()
public void setPrimarySmtpAddress(java.lang.String primarySmtpAddress)
primarySmtpAddress - the new primary smtp addresspublic java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName - the new display namepublic StandardUser getStandardUser()
public void setStandardUser(StandardUser standardUser)
standardUser - the new standard user