GroupPasswordRulesModifyRequest
Bases: OCIRequest
Request to modify the group's password rules setting that apply to the users within the group.
The following elements are only used in AS data mode and ignored in XS data mode:
forcePasswordChangeAfterReset
reenableLogin
lockOutInMinutes
The response is either SuccessResponse or ErrorResponse.
Attributes:
service_provider_id (str):
group_id (str):
disallow_user_id (Optional[bool]):
disallow_old_password (Optional[bool]):
disallow_reversed_old_password (Optional[bool]):
restrict_min_digits (Optional[bool]):
min_digits (Optional[int]):
restrict_min_upper_case_letters (Optional[bool]):
min_upper_case_letters (Optional[int]):
restrict_min_lower_case_letters (Optional[bool]):
min_lower_case_letters (Optional[int]):
restrict_min_non_alphanumeric_characters (Optional[bool]):
min_non_alphanumeric_characters (Optional[int]):
min_length (Optional[int]):
max_failed_login_attempts (Optional[int]):
password_expires_days (Optional[int]):
send_login_disabled_notify_email (Optional[bool]):
login_disabled_notify_email_address (Optional[Nillable[str]]):
disallow_previous_passwords (Optional[bool]):
number_of_previous_passwords (Optional[int]):
force_password_change_after_reset (Optional[bool]):
use_password_validation_service (Optional[bool]):
reenable_login (Optional[bool]):
lock_out_in_minutes (Optional[int]):
Source code in src/mercury_ocip_fast/commands/commands.py
52947 52948 52949 52950 52951 52952 52953 52954 52955 52956 52957 52958 52959 52960 52961 52962 52963 52964 52965 52966 52967 52968 52969 52970 52971 52972 52973 52974 52975 52976 52977 52978 52979 52980 52981 52982 52983 52984 52985 52986 52987 52988 52989 52990 52991 52992 52993 52994 52995 52996 52997 52998 52999 53000 53001 53002 53003 53004 53005 53006 53007 53008 53009 53010 53011 53012 53013 53014 53015 53016 53017 53018 53019 53020 53021 53022 53023 53024 53025 53026 53027 53028 53029 53030 53031 53032 53033 53034 53035 53036 53037 53038 53039 53040 53041 53042 53043 53044 53045 53046 53047 53048 53049 53050 53051 53052 53053 53054 53055 53056 53057 53058 53059 53060 53061 53062 53063 53064 53065 53066 53067 53068 53069 53070 53071 53072 53073 53074 53075 53076 53077 53078 53079 53080 53081 53082 53083 53084 53085 53086 53087 53088 53089 53090 53091 53092 53093 53094 53095 53096 53097 53098 53099 53100 53101 53102 53103 53104 | |
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import GroupPasswordRulesModifyRequest
client = Client()
command = GroupPasswordRulesModifyRequest(
service_provider_id=...,
group_id=...,
disallow_user_id=...,
disallow_old_password=...,
disallow_reversed_old_password=...,
restrict_min_digits=...,
min_digits=...,
restrict_min_upper_case_letters=...,
min_upper_case_letters=...,
restrict_min_lower_case_letters=...,
min_lower_case_letters=...,
restrict_min_non_alphanumeric_characters=...,
min_non_alphanumeric_characters=...,
min_length=...,
max_failed_login_attempts=...,
password_expires_days=...,
send_login_disabled_notify_email=...,
login_disabled_notify_email_address=...,
disallow_previous_passwords=...,
number_of_previous_passwords=...,
force_password_change_after_reset=...,
use_password_validation_service=...,
reenable_login=...,
lock_out_in_minutes=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("GroupPasswordRulesModifyRequest",
service_provider_id=...,
group_id=...,
disallow_user_id=...,
disallow_old_password=...,
disallow_reversed_old_password=...,
restrict_min_digits=...,
min_digits=...,
restrict_min_upper_case_letters=...,
min_upper_case_letters=...,
restrict_min_lower_case_letters=...,
min_lower_case_letters=...,
restrict_min_non_alphanumeric_characters=...,
min_non_alphanumeric_characters=...,
min_length=...,
max_failed_login_attempts=...,
password_expires_days=...,
send_login_disabled_notify_email=...,
login_disabled_notify_email_address=...,
disallow_previous_passwords=...,
number_of_previous_passwords=...,
force_password_change_after_reset=...,
use_password_validation_service=...,
reenable_login=...,
lock_out_in_minutes=...,
)
print(response)