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.

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.