GenAuth DocsDocuments
Concepts
User Guide
Development Integration
AgentAuth
Metadata
Development Integration
Multi-tenant (beta)
Console Documentation
Multi-tenant Console
Tenant Console
Saas Application Demo
Concepts
User Guide
Development Integration
AgentAuth
Metadata
Development Integration
Multi-tenant (beta)
Console Documentation
Multi-tenant Console
Tenant Console
Saas Application Demo
Old version
  • Single Page Web Application

  • Mobile and Client Applications

    • Android

    • C#

      • User Authentication Module

      • Management Module

        • 管理用户
        • 管理应用
        • 管理角色
        • 管理资源与权限
        • 管理分组
        • 管理组织机构
        • 管理用户自定义字段
        • 管理注册白名单
        • 管理用户池配置
        • 管理日志统计信息
        • 管理多租户
    • Flutter

    • iOS

    • React Native
  • Standard Web Application

  • Framework Integration

  • Others

  1. Development Integration
  2. /
  3. Mobile and Client Applications
  4. /
  5. C#
  6. /
  7. Management Module
  8. /
  9. 管理日志统计信息

¶ 管理日志统计信息

Update time: 2025-07-23 07:34:21
Edit

主要用于管理日志统计信息, 你可以查看用户操作日志、查看审计日志

¶ 查看用户操作日志

managementClient.Statistics.listUserActions(LogsPageParam options)

查看用户操作日志

¶ 参数

  • param <LogsPageParam> 管理日志统计信息分页查询参数。
  • param.ClientIp <string> 客户端真实 IP,如果你在服务器端调用此接口,请务必将此参数设置为终端用户的真实 IP。
  • param.OperationNames <List<string>> 操作名称的集合
  • param.UserIds <List<string>> 用户唯一标识的集合
  • param.Page <int> 分页,获取第几页,默认从 1 开始。
  • param.Limit <int> 每页条目数量,默认为 10 个。

¶ 示例

 var option = new LogsPageParam(){
   ClientIp = "127.0.0.1",
   OperationNames = "OperationNames"
   UserIds = new List<string>(){
     "id"
   }
 };
 var result = await managementClient.Statistics.listUserActions(new LogsPageParam(){});

¶ 查看审计日志

var result = await managementClient.Statistics.listAuditLogs(AuditLogPageParam options);

查看审计日志

¶ 参数

  • param <AuditLogPageParam>
  • param.ClientIp <string> 客户端真实 IP,如果你在服务器端调用此接口,请务必将此参数设置为终端用户的真实 IP。
  • param.OperationNames <List<string>> 操作名称的集合
  • param.OperatorArns <List<string>> 操作人的 arn 集合
  • param.Page <int> 分页,获取第几页,默认从 1 开始。
  • param.Limit <int> 每页条目数量,默认为 10 个。

¶ 示例

var result = await managementClient.Statistics.listAuditLogs(new AuditLogPageParam(){ClientIp = "127.0.0.1"});
Previous article: 管理用户池配置 Next article: 管理多租户
  • 查看用户操作日志
  • 查看审计日志

User identity management

Integrated third-party login
Customized authentication process

Enterprise internal management

Single sign-on
Multi-factor authentication
Permission management

Developer

Development Documentation
GitHub (opens new window)

Company

official@genauth.ai
16th Floor, Building B, Beichen Century Center, Chaoyang District, Beijing (Total)
Room 406, 4th Floor, Block B, No. 200, Tianfu Fifth Street, High-tech Zone, Chengdu (Branch)

© Beijing Steamory Technology Co., Ltd.