Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UserRegistrationDetails
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelGets the isAdmin property value.Gets the isMfaCapable property value.Gets the isMfaRegistered property value.Gets the isPasswordlessCapable property value.Gets the isSsprCapable property value.Gets the isSsprEnabled property value.Gets the isSsprRegistered property value.Gets the isSystemPreferredAuthenticationMethodEnabled property value.Gets the lastUpdatedDateTime property value.Gets the methodsRegistered property value.Gets the systemPreferredAuthenticationMethods property value.Gets the userDisplayName property value.Gets the userPreferredMethodForSecondaryAuthentication property value.Gets the userPrincipalName property value.Gets the userType property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setIsAdmin
(Boolean value) Sets the isAdmin property value.void
setIsMfaCapable
(Boolean value) Sets the isMfaCapable property value.void
setIsMfaRegistered
(Boolean value) Sets the isMfaRegistered property value.void
setIsPasswordlessCapable
(Boolean value) Sets the isPasswordlessCapable property value.void
setIsSsprCapable
(Boolean value) Sets the isSsprCapable property value.void
setIsSsprEnabled
(Boolean value) Sets the isSsprEnabled property value.void
setIsSsprRegistered
(Boolean value) Sets the isSsprRegistered property value.void
Sets the isSystemPreferredAuthenticationMethodEnabled property value.void
Sets the lastUpdatedDateTime property value.void
setMethodsRegistered
(List<String> value) Sets the methodsRegistered property value.void
Sets the systemPreferredAuthenticationMethods property value.void
setUserDisplayName
(String value) Sets the userDisplayName property value.void
Sets the userPreferredMethodForSecondaryAuthentication property value.void
setUserPrincipalName
(String value) Sets the userPrincipalName property value.void
setUserType
(SignInUserType value) Sets the userType property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
UserRegistrationDetails
public UserRegistrationDetails()Instantiates a newUserRegistrationDetails
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
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
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
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
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
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
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
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
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
Gets the methodsRegistered property value. Collection of authentication methods registered, such as mobilePhone, email, passKeyDeviceBound. Supports $filter (any with eq). -
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). -
getUserDisplayName
Gets the userDisplayName property value. The user display name, such as Adele Vance. Supports $filter (eq, startsWith) and $orderby.- Returns:
- a
String
-
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
Gets the userPrincipalName property value. The user principal name, such as [email protected]. Supports $filter (eq, startsWith) and $orderby.- Returns:
- a
String
-
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 -
setIsAdmin
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
-