public final class ImpersonatedUserId extends Object
| Constructor and Description | 
|---|
ImpersonatedUserId()
Instantiates a new impersonated user id. 
 | 
ImpersonatedUserId(ConnectingIdType idType,
                  String id)
Initializes a new instance of ConnectingId. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getId()
Gets  the user Id. 
 | 
ConnectingIdType | 
getIdType()
Gets  the type of the Id. 
 | 
void | 
setId(String id)
Sets the id. 
 | 
void | 
setIdType(ConnectingIdType idType)
Sets the id type. 
 | 
void | 
writeToXml(EwsServiceXmlWriter writer)
Writes to XML. 
 | 
public ImpersonatedUserId()
public ImpersonatedUserId(ConnectingIdType idType, String id)
idType - The type of this Id.id - The user Id.public void writeToXml(EwsServiceXmlWriter writer) throws Exception
writer - The writerException - the exceptionpublic ConnectingIdType getIdType()
public void setIdType(ConnectingIdType idType)
idType - the new id typeCopyright © 2012–2015 Microsoft. All rights reserved.