Revoking access for external LDAP users

If you need to revoke access to system operations for user IDs from external directory, you can use the ap_external_ldap userdel command.

About this task

Removing the user ID with the following command restricts the user from accessing the system operations.
ap_external_ldap userdel -h
usage: ap_external_ldap userdel [-h] -u USERNAME

optional arguments:
  -h, --help            show this help message and exit
  -u USERNAME, --user USERNAME
                        System ldap user to delete

Procedure

To delete a user named myaduser from the system operations run the following command:
ap_external_ldap userdel -u myaduser

Successfully deleted LDAP user:myaduser from system operation