Skip to main content
Version: 4.42

Response objects

This document describes the object types that the Administration API returns in the ResultData field of the response.

UserView

Returned by methods that list or retrieve user information, such as ListUsersInDomain.

FieldTypeDescription
uidstringUnique user identifier in the format USER:<id>@<domain>.
userHandlerintegerInternal user ID.
usernamestringUsername.
friendlyNamestringUser's display name.
domainstringAlias of the domain the user belongs to.
emailstringUser's email address.
typestringUser type. Values: LOCAL_USER, CERTIFICATE_USER, ACTIVE_DIRECTORY, LDAP, SAML2, OAuth2, ACTIVATION_CODE, UNKNOWN.
groupTypestringWhether the entity is a user or a group. Values: USER, GROUP.
statusbooleantrue if the user is active.
consumeLicensebooleantrue if the user has consumed a license.
lastCertificateUsagedatetimeLast time the user used a certificate. null if never used.
passwordExpirationDatedatetimePassword expiration date. null if not set.

DomainView

Returned by methods that list domains, such as ListDomains.

FieldTypeDescription
idintegerDomain ID.
aliasstringDomain alias.
allowPersonalAreabooleantrue if domain users can access the personal area.
webSignatureAccessbooleantrue if domain users can use the Signtrust module.
allowUploadCertsbooleantrue if domain users can upload personal certificates.
schemastringDomain type. Same values as UserView.type.
allowedUsersintegerMaximum number of allowed users. 0 means unlimited.
numUsersintegerCurrent number of users in the domain.
isExternalbooleantrue if the domain is external.
sharepointAccessbooleantrue if domain users can use the SharePoint module.

CertificateView

Returned by ListCertificates. Contains the main information for a certificate.

FieldTypeDescription
certificateHandlerintegerCertificate ID.
namestringCertificate alias.
activebooleantrue if the certificate is active.
groupsarray of stringsNames of the certificate groups that contain this certificate.
policiesarray of stringsNames of the policies that use this certificate.
usersarray of stringsUsers associated with the certificate.
user_groupsarray of stringsUser groups associated with the certificate.
issuerstringCertificate issuer.
subjectstringCertificate subject.
creationDatedatetimeDate the certificate was added to Redtrust.
expirationDatedatetimeCertificate expiration date.
expiredbooleantrue if the certificate has expired.
times_usedintegerNumber of times the certificate has been used.
datetime_last_usagedatetimeDate of the last certificate use. null if never used.
needPinbooleantrue if using the certificate requires a PIN.
externalIdstringExternal identifier of the certificate.
assignablebooleantrue if the certificate owner can be changed.
ownerstringUsername of the certificate owner.
ownerIdintegerID of the certificate owner.
ownerUIDstringUID of the certificate owner.
usageReasonbooleantrue if using the certificate requires a reason.
userPinPolicystringUser PIN behavior for this certificate.
allowBackupbooleantrue if the certificate can be downloaded from Redtrust.
allowCSRbooleantrue if a CSR can be created from this certificate.
isRevokedbooleantrue if the certificate is revoked.
policyIdentifierstringIdentifier of the certificate's profile.

CertificateDetail

Returned by GetCertificateData. Includes all fields from CertificateView plus full X.509 certificate details.

FieldTypeDescription
certificateHandlerintegerCertificate ID.
activebooleantrue if the certificate is active.
aliasstringCertificate alias.
friendlyNamestringCertificate friendly name.
certificateSNstringCertificate serial number.
thumbprintstringCertificate thumbprint.
subjectstringCertificate subject (full DN).
issuerstringCertificate issuer (full DN).
validFromdatetimeStart of the certificate's validity period.
validUntildatetimeEnd of the certificate's validity period.
expiredbooleantrue if the certificate has expired.
notEnabledYetbooleantrue if the validity start date has not yet been reached.
versionintegerX.509 certificate version.
signatureAlgstringCertificate signature algorithm.
keyValuestringCertificate public key value.
extensionsstringCertificate extensions.
archivedbooleantrue if the certificate is archived.
commentstringFree-text comment on the certificate.
needPinbooleantrue if using the certificate requires a PIN.
usageReasonbooleantrue if using the certificate requires a reason.
userPinPolicystringUser PIN behavior for this certificate.
assignablebooleantrue if the certificate owner can be changed.
ownerstringUsername of the certificate owner.
ownerIdintegerID of the certificate owner.
ownerUIDstringUID of the certificate owner.
ownerNamestringDisplay name of the certificate owner.
groupsarray of stringsCertificate groups that contain this certificate.
policiesarray of stringsPolicies that use this certificate.
usersarray of stringsUsers associated with the certificate.
user_groupsarray of stringsUser groups associated with the certificate.
timesUsedintegerNumber of times the certificate has been used.
datetimeLastUsagedatetimeDate of the last certificate use. null if never used.
subjectSimpleNamestringSubject simple name.
subjectDnsNamestringSubject DNS name.
subjectDnsFromAlternativeNamestringSubject DNS name from the alternative name extension.
subjectEmailNamestringSubject email address.
subjectUpnNamestringSubject UPN.
subjectUrlNamestringURL associated with the subject.
issuerSimpleNamestringIssuer simple name.
issuerDnsNamestringIssuer DNS name.
issuerDnsFromAlternativeNamestringIssuer DNS name from the alternative name extension.
issuerEmailNamestringIssuer email address.
issuerUpnNamestringIssuer UPN.
issuerUrlNamestringURL associated with the issuer.

CACertificateView

Returned by ListCACertificates.

FieldTypeDescription
idintegerCA certificate ID.
issuerstringCA certificate issuer.
subjectstringCA certificate subject.
expirationDatedatetimeCA certificate expiration date.
creationDatedatetimeDate from which the CA certificate is valid.
expiredbooleantrue if the CA certificate has expired.
installedbooleantrue if the CA certificate is installed in Redtrust.
thumbprintstringCA certificate thumbprint.

CertificateAttribute

Returned by ListCertificateAttributes. Represents a certificate attribute type available in the system.

FieldTypeDescription
idintegerCertificate attribute ID. Use this value in the id field of certAttributes when calling AddCertificateUser.
namestringCertificate attribute name.

GroupsResponse

Returned by ListApplicationGroups and ListSiteGroups.

FieldTypeDescription
globalAppsbooleantrue if there are global application groups configured in the system.
groupsarray of BaseGroupList of groups. Each item can be of type ApplicationGroup or SiteGroup, indicated by the i:type attribute in the XML response.

ApplicationGroup

Returned directly by GetApplicationGroup. Also included in the groups field of GroupsResponse, returned by ListApplicationGroups.

FieldTypeDescription
groupIdintegerApplication group ID.
friendlyNamestringGroup name.
roleIdintegerID of the role the group belongs to. 0 if it belongs to all roles.
roleNamestringRole name. null if it belongs to all roles.
applicationsarray of ApplicationList of applications in the group. Each item includes: id (internal ID), name (process name or pattern), expType (expression type: PROCESS, REGEXP, RTREGEXP, COMMAND_LINE).
mappedSitesarray of stringsList of websites associated with the group.

SiteGroup

Returned directly by GetSitesGroup. Also included in the groups field of GroupsResponse, returned by ListSiteGroups.

FieldTypeDescription
groupIdintegerSite group ID.
friendlyNamestringGroup name.
roleIdintegerID of the role the group belongs to. 0 if it belongs to all roles.
roleNamestringRole name. null if it belongs to all roles.
sitesarray of SiteList of sites in the group. Each item includes: id (internal ID), name (URL or site pattern), expType (expression type: REGEXP, RTREGEXP) and postdata (POST data to distinguish sites with the same URL; can be null).
mappedSitesarray of stringsList of additional websites associated with the group.

PolicyView

Returned by ListPolicies. Contains the main data for a policy.

FieldTypeDescription
actionstringPolicy action: ALLOW or DENY.
activebooleantrue if the policy is active.
certificatesarray of stringsNames of the individual certificates included in the policy.
contextPolicyContextApplication context. Includes: sites (site group names), apps (application group names), browsers (allowed browsers), dss (whether DSS is allowed), macAgent (whether the macOS Agent is allowed).
groupsarray of stringsNames of the certificate groups included in the policy.
idRoleintegerID of the role the policy belongs to. 0 if it belongs to all roles.
namestringPolicy name.
policyIdintegerPolicy ID.
priorityintegerPolicy priority. Lower values have higher priority.
rolestringName of the role the policy belongs to.
userGroupsarray of stringsNames of the user groups included in the policy.
userPinPolicystringUser PIN behavior: DO_NOTHING, ASK_FOR_USER_PIN, DONT_ASK_FOR_USER_PIN.
usersarray of stringsNames of the users included in the policy.

Policy

Returned by GetPolicyData. Contains the full details of a policy, including its associated resources.

FieldTypeDescription
actionstringPolicy action: ALLOW or DENY.
activebooleantrue if the policy is active.
allowAllBrowserbooleantrue if the policy applies to all browsers.
allowedBrowsersarray of stringsSpecific browsers when allowAllBrowser is false. Values: IE, FF, CH, EDGE.
applicationsarray of ApplicationGroupApplication groups where the policy applies. Each item includes full group details.
certificateGroupsarray of CertificateGroupCertificate groups included in the policy. Each item includes: id (group ID), description (group name), certificatesCount (total certificates in the group), allowedCertificates (certificates the user can use; 0 means all).
certificatesarray of CertificateIndividual certificates included in the policy. Each item includes: certificateHandler (certificate ID), alias (certificate alias), active, certificateUserPinPolicy, expirationDate, needPin, and usageReason.
commentstringPolicy description or comment.
dssbooleantrue if the policy allows use of the DSS service.
macAgentbooleantrue if the policy allows use of the macOS Agent.
namestringPolicy name.
policyIdintegerPolicy ID.
priorityintegerPolicy priority.
sitesarray of SiteGroupSite groups where the policy applies. Each item includes full group details.
userPinPolicystringUser PIN behavior: DO_NOTHING, ASK_FOR_USER_PIN, DONT_ASK_FOR_USER_PIN.
usersarray of UserViewUsers included in the policy.
whenWhenTime schedule. Includes: always (true if the policy is always valid) and entries (list of time slots with days, startDate, endDate, startTime, endTime).

EventView

Returned by ListEvents.

FieldTypeDescription
datedatetimeEvent date and time.
ipstringIP address from which the event occurred.
userstringUsername that generated the event.
contextarray of stringsAdditional context information for the event.
certificatestringName of the certificate used in the event.
descriptionstringEvent description.
urlstringJSON object with event context data, including the process name, browser type, visited URL, applied policy, and agent ID. null if not applicable.

SystemEventView

Returned by ListSystemEvents and ListHAEvents.

FieldTypeDescription
dateTimedatetimeEvent date and time.
ipstringIP address from which the event occurred.
userstringUsername that performed the action.
sectionstringSection of the admin console where the event occurred.
informationstringDescription of the action performed.
oldDatastringState before the change, in JSON format. null if not applicable.
newDatastringState after the change, in JSON format. null if not applicable.
contextarrayList of key-value pairs with additional context for the event. Each item has Item1 (label) and Item2 (value). null if not applicable.

CertificateDirective

Returned by ListCertificateDirectives. Represents a certificate directive configured in the system.

FieldTypeDescription
idintegerCertificate directive ID. Use this value in certDirectiveIds when calling AddCertificateUser.
valuestringCertificate directive description or value.

Was this page helpful?