PingDirectory

Determining whether an account is disabled

Steps

  • To determine whether a user’s account has been disabled, run the manage-account tool with the get-account-is-disabled subcommand.

    Example:

    $ bin/manage-account get-account-is-disabled \
      --targetDN uid=user.1,ou=People,dc=example,dc=com

    Result:

    If the account has been disabled, you receive the following message.

    Account Is Disabled: true