Skip to content

SystemPasswordSecurityParametersGetRequest

Bases: OCIRequest

Get the password security parameters for the system. The response is either a SystemPasswordSecurityParametersGetResponse or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemPasswordSecurityParametersGetRequest(OCIRequest):
    """Get the password security parameters for the system.
        The response is either a SystemPasswordSecurityParametersGetResponse or an ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to the SystemPasswordSecurityParametersGetResponse. The response contains the password security parameters for the system.

Attributes:

use_existing_hashing (bool):

enforce_password_change_on_expiry (bool):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemPasswordSecurityParametersGetResponse(OCIDataResponse):
    """Response to the SystemPasswordSecurityParametersGetResponse.
        The response contains the password security parameters for the system.

    Attributes:

        use_existing_hashing (bool):

        enforce_password_change_on_expiry (bool):

    """

    use_existing_hashing: bool = field(metadata={"alias": "useExistingHashing"})

    enforce_password_change_on_expiry: bool = field(
        metadata={"alias": "enforcePasswordChangeOnExpiry"}
    )

Bases: OCIResponse

Source code in src/mercury_ocip_fast/commands/base_command.py
class ErrorResponse(OCIResponse):
    errorCode: Optional[int] = None
    summary: str
    summaryEnglish: str
    detail: Optional[str] = None

Example Usage

from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import SystemPasswordSecurityParametersGetRequest

client = Client()

command = SystemPasswordSecurityParametersGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemPasswordSecurityParametersGetRequest")

print(response)