Policy > Security > East West Security > Distributed Firewall > Settings > Firewall Identity Store

Scan the size of a directory domain

This call scans the size of a directory domain. It may be very | expensive to run this call in some AD domain deployments. Please | use it with caution.

Request:

Method:
POST
URI Path(s):
/policy/api/v1/infra/firewall-identity-store-size
Request Headers:
n/a
Query Parameters:
PolicyIdfwEnforcementPointRequestParameters+
Request Body:
DirectoryAdDomain+

Example Request:

POST https://<nsx-mgr>/policy/api/v1/infra/firewall-identity-store-size { "resource_type": "DirectoryAdDomain", "description": "Active directory domain nimbustest.com", "display_name": "NIMBUS TEST", "base_distinguished_name": "DC=nimbustest,DC=com", "netbios_name": "NIMBUSTEST", "name": "nimbustest.com", "ldap_servers": [ { "resource_type": "DirectoryAdLdapServer", "display_name": "nimbus ldap", "host": "10.192.210.96", "username": "dummy", "password": "dummy", "thumbprint": "3b1f4f3b636569d648a3092fc5b5b00fe4f6ec6abd34de86ae657f4bba22913e", "port": 389, "protocol": "LDAP" } ] }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
DirectoryDomainSize+

Example Response:

{ "user_count": 52712, "group_count": 100053, "group_member_count": 1000027 }

Required Permissions:

read

Feature:

policy_identity

Additional Errors: