Class ImpersonatedUserId
- java.lang.Object
-
- microsoft.exchange.webservices.data.misc.ImpersonatedUserId
-
public final class ImpersonatedUserId extends Object
Represents an impersonated user Id.
-
-
Constructor Summary
Constructors Constructor Description ImpersonatedUserId()Instantiates a new impersonated user id.ImpersonatedUserId(ConnectingIdType idType, String id)Initializes a new instance of ConnectingId.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Gets the user Id.ConnectingIdTypegetIdType()Gets the type of the Id.voidsetId(String id)Sets the id.voidsetIdType(ConnectingIdType idType)Sets the id type.voidwriteToXml(EwsServiceXmlWriter writer)Writes to XML.
-
-
-
Constructor Detail
-
ImpersonatedUserId
public ImpersonatedUserId()
Instantiates a new impersonated user id.
-
ImpersonatedUserId
public ImpersonatedUserId(ConnectingIdType idType, String id)
Initializes a new instance of ConnectingId.- Parameters:
idType- The type of this Id.id- The user Id.
-
-
Method Detail
-
writeToXml
public void writeToXml(EwsServiceXmlWriter writer) throws Exception
Writes to XML.- Parameters:
writer- The writer- Throws:
Exception- the exception
-
getIdType
public ConnectingIdType getIdType()
Gets the type of the Id.- Returns:
- the id type
-
setIdType
public void setIdType(ConnectingIdType idType)
Sets the id type.- Parameters:
idType- the new id type
-
-