All Products
Search
Document Center

Security Center:DescribePropertyUserDetail

Last Updated:Nov 25, 2024

Queries the asset fingerprints for an account to which a server belongs.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:DescribePropertyUserDetailget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RemarkstringNo

The name or IP address of the server.

192.168.XX.XX
UserstringNo

The name of the account to which the server belongs.

bin
IsRootstringNo

Specifies whether the account has root permissions. Valid values:

  • 0: no
  • 1: yes
0
UuidstringNo

The UUID of the server.

50d213b4-3a35-427a-b8a5-04b0c7e1****
CurrentPageintegerNo

The number of the page to return. Default value: 1.

1
PageSizeintegerNo

The number of entries to return on each page. Default value: 10.

10
LastLoginTimeStartlongNo

The timestamp of the last logon to the account. Unit: milliseconds.

164922523600
LastLoginTimeEndlongNo

The timestamp of the last logoff from the account. Unit: milliseconds.

164922523600
ExtendstringNo

Specifies whether the fuzzy search by account name is supported. If you want to use fuzzy search, set the parameter to 1. If you set the parameter to a different value or leave the parameter empty, fuzzy search is not supported.

1

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

33A71BE3-2CC2-14CB-B460-33A1DD82953A
PageInfoobject

The pagination information.

CurrentPageinteger

The page number of the returned page.

1
PageSizeinteger

The number of entries returned per page. Default value: 10.

10
TotalCountinteger

The total number of entries returned.

1
Countinteger

The number of entries returned on the current page.

1
Propertysarray<object>

The details of asset fingerprints for the account.

PropertyUserobject

The details of asset fingerprints for the account.

Statusstring

This parameter is deprecated. You can ignore it.

**
LastLoginIpstring

The source IP address of the last logon to the account.

192.168.XX.XX
InternetIpstring

The public IP address of the server.

192.168.XX.XX
LastLoginTimestring

The last logon time of the account.

2022-04-04 18:07:06
IsRootstring

Indicates whether the account has root permissions. Valid values:

  • 0: no
  • 1: yes
0
Ipstring

The IP addresses of the server.

192.168.XX.XX
Userstring

The name of the account.

bin
InstanceIdstring

The ID of the server.

i-hp35tftuh52wbp1g****
IntranetIpstring

The private IP address of the server.

100.104.XX.XX
PasswordExpirationDatestring

The date on which the password of the account expires.

never
Uuidstring

The UUID of the server.

162eb349-c2d9-4f8b-805c-75b43d4c****
LastLoginTimestamplong

The timestamp of the last logon to the account. Unit: milliseconds.

1649066826000
InstanceNamestring

The name of the server.

hc-host-****
AccountsExpirationDatestring

The date on which the account expires.

never
CreateTimestamplong

The timestamp at which the last asset fingerprint collection is performed. Unit: milliseconds.

1649149566000
GroupNamesarray

The details of the user groups to which the account belongs.

GroupNamestring

The details of the user groups to which the account belongs.

["bin"]
LastLoginTimeDtlong

The timestamp of the last logon to the account. Unit: milliseconds.

1649066826000
IsPasswdExpiredinteger

Indicates whether the password expires. Valid values:

  • 0: yes
  • 1: no
1
IsPasswdLockedinteger

Indicates whether the password is locked. Valid values:

  • 0: yes
  • 1: no
1
IsUserExpiredinteger

Indicates whether the account expires. Valid values:

  • 0: yes
  • 1: no
1
IsCouldLogininteger

Indicates whether the account is an interactive logon account. Valid values:

  • 0: no
  • 1: yes
0
IsSudoerinteger

Indicates whether the account is a sudo account. Valid values:

  • 0: no
  • 1: yes
0

Examples

Sample success responses

JSONformat

{
  "RequestId": "33A71BE3-2CC2-14CB-B460-33A1DD82953A",
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 10,
    "TotalCount": 1,
    "Count": 1
  },
  "Propertys": [
    {
      "Status": "**",
      "LastLoginIp": "192.168.XX.XX",
      "InternetIp": "192.168.XX.XX",
      "LastLoginTime": "2022-04-04 18:07:06",
      "IsRoot": "0",
      "Ip": "192.168.XX.XX",
      "User": "bin",
      "InstanceId": "i-hp35tftuh52wbp1g****",
      "IntranetIp": "100.104.XX.XX",
      "PasswordExpirationDate": "never",
      "Uuid": "162eb349-c2d9-4f8b-805c-75b43d4c****",
      "LastLoginTimestamp": 1649066826000,
      "InstanceName": "hc-host-****",
      "AccountsExpirationDate": "never",
      "CreateTimestamp": 1649149566000,
      "GroupNames": [
        "[\"bin\"]"
      ],
      "LastLoginTimeDt": 1649066826000,
      "IsPasswdExpired": 1,
      "IsPasswdLocked": 1,
      "IsUserExpired": 1,
      "IsCouldLogin": 0,
      "IsSudoer": 0
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history