Class UserIdentity

java.lang.Object
com.microsoft.graph.models.Identity
com.microsoft.graph.models.UserIdentity
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class UserIdentity extends Identity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the User Identity.
  • Field Details

    • ipAddress

      @SerializedName(value="ipAddress", alternate="IpAddress") @Expose @Nullable public String ipAddress
      The Ip Address. Indicates the client IP address used by user performing the activity (audit log only).
    • userPrincipalName

      @SerializedName(value="userPrincipalName", alternate="UserPrincipalName") @Expose @Nullable public String userPrincipalName
      The User Principal Name. The userPrincipalName attribute of the user.
  • Constructor Details

    • UserIdentity

      public UserIdentity()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Identity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to