我可以在 Google Admin sdk 的查询中使用 lastLoginTime 来查询用户吗?
Can I query users by using lastLoginTime in query in Google Admin sdk?
在我的组织中,我们要过滤过去 30 天未登录的用户。
我可以在 google admin sdk api.
中使用 query=lastLoginTime<2022-03-15
我正在使用这个 api https://admin.googleapis.com/admin/directory/v1/users?query=lastLoginTime<2022-03-15
或者是否还有其他 api 是 return 预期结果。
谢谢,
恐怕目前还不能。这是到目前为止您可以与该方法一起使用的查询参数列表:
- 名字
- 电子邮件
- givenName
- 家人姓名
- 是管理员
- isDelegatedAdmin
- 已暂停
- 我
- 外部 ID
- 经理
- managerId
- directManager
- directManagerId
- 地址
- 地址PoBox
- 地址扩展
- 地址街道
- 地址地区
- 地址地区
- 地址邮政编码
- 地址国家
- 组织名称
- 组织名称
- 组织部门
- 组织描述
- orgCostCenter
- phone
- orgUnitPath
- isEnrolledIn2Sv
- isEnforcedIn2Sv
- schemaName.fieldName
您可以在官方文档中找到每个参数的附加信息here。
除此之外,您还可以请求将其作为此 API here.
的一项功能
在我的组织中,我们要过滤过去 30 天未登录的用户。
我可以在 google admin sdk api.
中使用 query=lastLoginTime<2022-03-15我正在使用这个 api https://admin.googleapis.com/admin/directory/v1/users?query=lastLoginTime<2022-03-15
或者是否还有其他 api 是 return 预期结果。
谢谢,
恐怕目前还不能。这是到目前为止您可以与该方法一起使用的查询参数列表:
- 名字
- 电子邮件
- givenName
- 家人姓名
- 是管理员
- isDelegatedAdmin
- 已暂停
- 我
- 外部 ID
- 经理
- managerId
- directManager
- directManagerId
- 地址
- 地址PoBox
- 地址扩展
- 地址街道
- 地址地区
- 地址地区
- 地址邮政编码
- 地址国家
- 组织名称
- 组织名称
- 组织部门
- 组织描述
- orgCostCenter
- phone
- orgUnitPath
- isEnrolledIn2Sv
- isEnforcedIn2Sv
- schemaName.fieldName
您可以在官方文档中找到每个参数的附加信息here。
除此之外,您还可以请求将其作为此 API here.
的一项功能