User¶
-
class
oci.identity_data_plane.models.
User
(**kwargs)¶ Bases:
object
User model.
Methods
__init__
(**kwargs)Initializes a new User object with values from keyword arguments. Attributes
id
[Required] Gets the id of this User. is_mfa_activated
[Required] Gets the is_mfa_activated of this User. is_mfa_verified
[Required] Gets the is_mfa_verified of this User. is_otp
[Required] Gets the is_otp of this User. name
[Required] Gets the name of this User. -
__init__
(**kwargs)¶ Initializes a new User object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this User.
- name (str) – The value to assign to the name property of this User.
- is_otp (bool) – The value to assign to the is_otp property of this User.
- is_mfa_activated (bool) – The value to assign to the is_mfa_activated property of this User.
- is_mfa_verified (bool) – The value to assign to the is_mfa_verified property of this User.
-
id
¶ [Required] Gets the id of this User. The user’s Oracle ID (OCID).
Returns: The id of this User. Return type: str
-
is_mfa_activated
¶ [Required] Gets the is_mfa_activated of this User. If mfa is activated.
Returns: The is_mfa_activated of this User. Return type: bool
-
is_mfa_verified
¶ [Required] Gets the is_mfa_verified of this User. If the user has been mfa verified.
Returns: The is_mfa_verified of this User. Return type: bool
-
is_otp
¶ [Required] Gets the is_otp of this User. If the provided password is a one-time password.
Returns: The is_otp of this User. Return type: bool
-
name
¶ [Required] Gets the name of this User. The name of the user.
Returns: The name of this User. Return type: str
-