Use Interactive SQL to assign a login policy to an existing user.
Prerequisites
Requires the MANAGE ANY LOGIN POLICY system privilege.
Task- To change the login policy assigned to a user, execute:
ALTER USER userID
LOGIN POLICY policy_name
- Have the user log out and back in to apply the new login policy.