Search the accounts on resources
GET/api/v1/ManagedResource/User/Search
Returns a page of the local and domain accounts found on resources, with their management state, password schedule and last password check. Use hostId or domainConfigId to limit the accounts to one host or one domain.
Permission required: Administrator signed in with multifactor authentication, or an application account.
Values for filterAppUserType and appUserType: 0 = NonUser, 1 = User, 2 = Admin.
Values for filterManagedType and rotationType: 0 = NotManaged, 1 = Manual, 2 = Automatic.
Values for managedType: 0 = Internal, 1 = Standard, 2 = Service.
Values for postSessionAction: 0 = Disable, 1 = Enable, 2 = KeepPrevious.
Values for privilege: 0 = NotSet, 1 = Administrator, 2 = PowerUser, 3 = Guest, 4 = User, 5 = SuperUser, 6 = LinuxUser, 7 = CiscoPrivilege_0, 8 = CiscoPrivilege_1, 9 = CiscoPrivilege_2, 10 = CiscoPrivilege_3, 11 = CiscoPrivilege_4, 12 = CiscoPrivilege_5, 13 = CiscoPrivilege_6, 14 = CiscoPrivilege_7, 15 = CiscoPrivilege_8, 16 = CiscoPrivilege_9, 17 = CiscoPrivilege_10, 18 = CiscoPrivilege_11, 19 = CiscoPrivilege_12, 20 = CiscoPrivilege_13, 21 = CiscoPrivilege_14, 22 = CiscoPrivilege_15, 23 = DomainAdmin, 24 = EnterpriseAdmin.
Values for passwordStatus: 0 = Unspecified, 1 = Verified, 2 = Pending, 3 = Changed, 4 = Failed, 5 = Mismatch.
Request
Responses
- 200
- 403
Returns an object with the page of accounts in data and the total count in recordsTotal.
The signed-in user does not have the required role.