Class SignInActivity

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

public class SignInActivity extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Sign In Activity.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • lastNonInteractiveSignInDateTime

      @SerializedName(value="lastNonInteractiveSignInDateTime", alternate="LastNonInteractiveSignInDateTime") @Expose @Nullable public OffsetDateTime lastNonInteractiveSignInDateTime
      The Last Non Interactive Sign In Date Time. The last non-interactive sign-in date for a specific user. You can use this field to calculate the last time a client attempted to sign into the directory on behalf of a user. Because some users may use clients to access tenant resources rather than signing into your tenant directly, you can use the non-interactive sign-in date to along with lastSignInDateTime to identify inactive users. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is: '2014-01-01T00:00:00Z'. Azure AD maintains non-interactive sign-ins going back to May 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD.
    • lastNonInteractiveSignInRequestId

      @SerializedName(value="lastNonInteractiveSignInRequestId", alternate="LastNonInteractiveSignInRequestId") @Expose @Nullable public String lastNonInteractiveSignInRequestId
      The Last Non Interactive Sign In Request Id. Request identifier of the last non-interactive sign-in performed by this user.
    • lastSignInDateTime

      @SerializedName(value="lastSignInDateTime", alternate="LastSignInDateTime") @Expose @Nullable public OffsetDateTime lastSignInDateTime
      The Last Sign In Date Time. The last interactive sign-in date and time for a specific user. You can use this field to calculate the last time a user attempted to sign into the directory with an interactive authentication method. This field can be used to build reports, such as inactive users. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is: '2014-01-01T00:00:00Z'. Azure AD maintains interactive sign-ins going back to April 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD.
    • lastSignInRequestId

      @SerializedName(value="lastSignInRequestId", alternate="LastSignInRequestId") @Expose @Nullable public String lastSignInRequestId
      The Last Sign In Request Id. Request identifier of the last interactive sign-in performed by this user.
  • Constructor Details

    • SignInActivity

      public SignInActivity()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • 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
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to