public final class DelegateUser extends ComplexProperty
Constructor and Description |
---|
DelegateUser()
Initializes a new instance of the
|
DelegateUser(StandardUser standardUser)
Initializes a new instance of the
|
DelegateUser(String primarySmtpAddress)
Initializes a new instance of the
|
Modifier and Type | Method and Description |
---|---|
DelegatePermissions |
getPermissions()
Gets the list of delegate user's permissions.
|
boolean |
getReceiveCopiesOfMeetingMessages()
Gets a value indicating if the delegate user should receive
copies of meeting request.
|
UserId |
getUserId()
Gets the user Id of the delegate user.
|
boolean |
getViewPrivateItems()
Gets a value indicating if the delegate user should be
able to view the principal's private item.
|
protected void |
internalValidate()
Validates this instance.
|
void |
setReceiveCopiesOfMeetingMessages(boolean value)
Sets the receive copies of meeting messages.
|
void |
setViewPrivateItems(boolean value)
Gets a value indicating if the delegate user should be able to
view the principal's private item.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.
|
protected void |
validateAddDelegate()
Validates this instance for AddDelegate.
|
void |
validateUpdateDelegate()
Validates this instance for UpdateDelegate.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes elements to XML.
|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
public DelegateUser()
public DelegateUser(String primarySmtpAddress)
primarySmtpAddress
- the primary smtp addresspublic DelegateUser(StandardUser standardUser)
standardUser
- the standard userpublic DelegatePermissions getPermissions()
public boolean getReceiveCopiesOfMeetingMessages()
public void setReceiveCopiesOfMeetingMessages(boolean value)
value
- the new receive copies of meeting messagespublic boolean getViewPrivateItems()
public void setViewPrivateItems(boolean value)
value
- the new view private itempublic boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml
in class ComplexProperty
reader
- the readerException
- the exceptionpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ComplexProperty
writer
- the writerException
- the exceptionprotected void internalValidate() throws ServiceValidationException
internalValidate
in class ComplexProperty
ServiceValidationException
- the service validation exceptionprotected void validateAddDelegate() throws ServiceValidationException, Exception
Exception
ServiceValidationException
public void validateUpdateDelegate() throws Exception
Exception
Copyright © 2012–2015 Microsoft. All rights reserved.