Class UserRegistrationDetails

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.UserRegistrationDetails
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class UserRegistrationDetails extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • UserRegistrationDetails

      public UserRegistrationDetails()
      Instantiates a new UserRegistrationDetails and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static UserRegistrationDetails createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a UserRegistrationDetails
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsAdmin

      @Nullable public Boolean getIsAdmin()
      Gets the isAdmin property value. Indicates whether the user has an admin role in the tenant. This value can be used to check the authentication methods that privileged accounts are registered for and capable of.
      Returns:
      a Boolean
    • getIsMfaCapable

      @Nullable public Boolean getIsMfaCapable()
      Gets the isMfaCapable property value. Indicates whether the user has registered a strong authentication method for multifactor authentication. The method must be allowed by the authentication methods policy. Supports $filter (eq).
      Returns:
      a Boolean
    • getIsMfaRegistered

      @Nullable public Boolean getIsMfaRegistered()
      Gets the isMfaRegistered property value. Indicates whether the user has registered a strong authentication method for multifactor authentication. The method may not necessarily be allowed by the authentication methods policy. Supports $filter (eq).
      Returns:
      a Boolean
    • getIsPasswordlessCapable

      @Nullable public Boolean getIsPasswordlessCapable()
      Gets the isPasswordlessCapable property value. Indicates whether the user has registered a passwordless strong authentication method (including FIDO2, Windows Hello for Business, and Microsoft Authenticator (Passwordless)) that is allowed by the authentication methods policy. Supports $filter (eq).
      Returns:
      a Boolean
    • getIsSsprCapable

      @Nullable public Boolean getIsSsprCapable()
      Gets the isSsprCapable property value. Indicates whether the user has registered the required number of authentication methods for self-service password reset and the user is allowed to perform self-service password reset by policy. Supports $filter (eq).
      Returns:
      a Boolean
    • getIsSsprEnabled

      @Nullable public Boolean getIsSsprEnabled()
      Gets the isSsprEnabled property value. Indicates whether the user is allowed to perform self-service password reset by policy. The user may not necessarily have registered the required number of authentication methods for self-service password reset. Supports $filter (eq).
      Returns:
      a Boolean
    • getIsSsprRegistered

      @Nullable public Boolean getIsSsprRegistered()
      Gets the isSsprRegistered property value. Indicates whether the user has registered the required number of authentication methods for self-service password reset. The user may not necessarily be allowed to perform self-service password reset by policy. Supports $filter (eq).
      Returns:
      a Boolean
    • getIsSystemPreferredAuthenticationMethodEnabled

      @Nullable public Boolean getIsSystemPreferredAuthenticationMethodEnabled()
      Gets the isSystemPreferredAuthenticationMethodEnabled property value. Indicates whether system preferred authentication method is enabled. If enabled, the system dynamically determines the most secure authentication method among the methods registered by the user. Supports $filter (eq).
      Returns:
      a Boolean
    • getLastUpdatedDateTime

      @Nullable public OffsetDateTime getLastUpdatedDateTime()
      Gets the lastUpdatedDateTime property value. The date and time (UTC) when the report was last updated. The DateTimeOffset type 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.
      Returns:
      a OffsetDateTime
    • getMethodsRegistered

      @Nullable public List<String> getMethodsRegistered()
      Gets the methodsRegistered property value. Collection of authentication methods registered, such as mobilePhone, email, passKeyDeviceBound. Supports $filter (any with eq).
      Returns:
      a List<String>
    • getSystemPreferredAuthenticationMethods

      @Nullable public List<String> getSystemPreferredAuthenticationMethods()
      Gets the systemPreferredAuthenticationMethods property value. Collection of authentication methods that the system determined to be the most secure authentication methods among the registered methods for second factor authentication. Possible values are: push, oath, voiceMobile, voiceAlternateMobile, voiceOffice, sms, none, unknownFutureValue. Supports $filter (any with eq).
      Returns:
      a List<String>
    • getUserDisplayName

      @Nullable public String getUserDisplayName()
      Gets the userDisplayName property value. The user display name, such as Adele Vance. Supports $filter (eq, startsWith) and $orderby.
      Returns:
      a String
    • getUserPreferredMethodForSecondaryAuthentication

      @Nullable public UserDefaultAuthenticationMethod getUserPreferredMethodForSecondaryAuthentication()
      Gets the userPreferredMethodForSecondaryAuthentication property value. The method the user selected as the default second-factor for performing multifactor authentication. Possible values are: push, oath, voiceMobile, voiceAlternateMobile, voiceOffice, sms, none, unknownFutureValue. This property is used as preferred MFA method when isSystemPreferredAuthenticationMethodEnabled is false. Supports $filter (any with eq).
      Returns:
      a UserDefaultAuthenticationMethod
    • getUserPrincipalName

      @Nullable public String getUserPrincipalName()
      Gets the userPrincipalName property value. The user principal name, such as [email protected]. Supports $filter (eq, startsWith) and $orderby.
      Returns:
      a String
    • getUserType

      @Nullable public SignInUserType getUserType()
      Gets the userType property value. Identifies whether the user is a member or guest in the tenant. The possible values are: member, guest, unknownFutureValue.
      Returns:
      a SignInUserType
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setIsAdmin

      public void setIsAdmin(@Nullable Boolean value)
      Sets the isAdmin property value. Indicates whether the user has an admin role in the tenant. This value can be used to check the authentication methods that privileged accounts are registered for and capable of.
      Parameters:
      value - Value to set for the isAdmin property.
    • setIsMfaCapable

      public void setIsMfaCapable(@Nullable Boolean value)
      Sets the isMfaCapable property value. Indicates whether the user has registered a strong authentication method for multifactor authentication. The method must be allowed by the authentication methods policy. Supports $filter (eq).
      Parameters:
      value - Value to set for the isMfaCapable property.
    • setIsMfaRegistered

      public void setIsMfaRegistered(@Nullable Boolean value)
      Sets the isMfaRegistered property value. Indicates whether the user has registered a strong authentication method for multifactor authentication. The method may not necessarily be allowed by the authentication methods policy. Supports $filter (eq).
      Parameters:
      value - Value to set for the isMfaRegistered property.
    • setIsPasswordlessCapable

      public void setIsPasswordlessCapable(@Nullable Boolean value)
      Sets the isPasswordlessCapable property value. Indicates whether the user has registered a passwordless strong authentication method (including FIDO2, Windows Hello for Business, and Microsoft Authenticator (Passwordless)) that is allowed by the authentication methods policy. Supports $filter (eq).
      Parameters:
      value - Value to set for the isPasswordlessCapable property.
    • setIsSsprCapable

      public void setIsSsprCapable(@Nullable Boolean value)
      Sets the isSsprCapable property value. Indicates whether the user has registered the required number of authentication methods for self-service password reset and the user is allowed to perform self-service password reset by policy. Supports $filter (eq).
      Parameters:
      value - Value to set for the isSsprCapable property.
    • setIsSsprEnabled

      public void setIsSsprEnabled(@Nullable Boolean value)
      Sets the isSsprEnabled property value. Indicates whether the user is allowed to perform self-service password reset by policy. The user may not necessarily have registered the required number of authentication methods for self-service password reset. Supports $filter (eq).
      Parameters:
      value - Value to set for the isSsprEnabled property.
    • setIsSsprRegistered

      public void setIsSsprRegistered(@Nullable Boolean value)
      Sets the isSsprRegistered property value. Indicates whether the user has registered the required number of authentication methods for self-service password reset. The user may not necessarily be allowed to perform self-service password reset by policy. Supports $filter (eq).
      Parameters:
      value - Value to set for the isSsprRegistered property.
    • setIsSystemPreferredAuthenticationMethodEnabled

      public void setIsSystemPreferredAuthenticationMethodEnabled(@Nullable Boolean value)
      Sets the isSystemPreferredAuthenticationMethodEnabled property value. Indicates whether system preferred authentication method is enabled. If enabled, the system dynamically determines the most secure authentication method among the methods registered by the user. Supports $filter (eq).
      Parameters:
      value - Value to set for the isSystemPreferredAuthenticationMethodEnabled property.
    • setLastUpdatedDateTime

      public void setLastUpdatedDateTime(@Nullable OffsetDateTime value)
      Sets the lastUpdatedDateTime property value. The date and time (UTC) when the report was last updated. The DateTimeOffset type 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.
      Parameters:
      value - Value to set for the lastUpdatedDateTime property.
    • setMethodsRegistered

      public void setMethodsRegistered(@Nullable List<String> value)
      Sets the methodsRegistered property value. Collection of authentication methods registered, such as mobilePhone, email, passKeyDeviceBound. Supports $filter (any with eq).
      Parameters:
      value - Value to set for the methodsRegistered property.
    • setSystemPreferredAuthenticationMethods

      public void setSystemPreferredAuthenticationMethods(@Nullable List<String> value)
      Sets the systemPreferredAuthenticationMethods property value. Collection of authentication methods that the system determined to be the most secure authentication methods among the registered methods for second factor authentication. Possible values are: push, oath, voiceMobile, voiceAlternateMobile, voiceOffice, sms, none, unknownFutureValue. Supports $filter (any with eq).
      Parameters:
      value - Value to set for the systemPreferredAuthenticationMethods property.
    • setUserDisplayName

      public void setUserDisplayName(@Nullable String value)
      Sets the userDisplayName property value. The user display name, such as Adele Vance. Supports $filter (eq, startsWith) and $orderby.
      Parameters:
      value - Value to set for the userDisplayName property.
    • setUserPreferredMethodForSecondaryAuthentication

      public void setUserPreferredMethodForSecondaryAuthentication(@Nullable UserDefaultAuthenticationMethod value)
      Sets the userPreferredMethodForSecondaryAuthentication property value. The method the user selected as the default second-factor for performing multifactor authentication. Possible values are: push, oath, voiceMobile, voiceAlternateMobile, voiceOffice, sms, none, unknownFutureValue. This property is used as preferred MFA method when isSystemPreferredAuthenticationMethodEnabled is false. Supports $filter (any with eq).
      Parameters:
      value - Value to set for the userPreferredMethodForSecondaryAuthentication property.
    • setUserPrincipalName

      public void setUserPrincipalName(@Nullable String value)
      Sets the userPrincipalName property value. The user principal name, such as [email protected]. Supports $filter (eq, startsWith) and $orderby.
      Parameters:
      value - Value to set for the userPrincipalName property.
    • setUserType

      public void setUserType(@Nullable SignInUserType value)
      Sets the userType property value. Identifies whether the user is a member or guest in the tenant. The possible values are: member, guest, unknownFutureValue.
      Parameters:
      value - Value to set for the userType property.