新增接口
This commit is contained in:
parent
fdfa105ef5
commit
b4ca304f8d
|
@ -30,6 +30,8 @@ service ldap {
|
|||
rpc DeleteLdapUser(DeleteLdapUserReq) returns(basic.Response){}
|
||||
//获取用户信息
|
||||
rpc GetLdapUserInfo(GetLdapUserInfoReq) returns(GetLdapUserInfoRsp){}
|
||||
//获取用户信息--批量
|
||||
rpc GetLdapUsersByUserIds(GetLdapUsersByUserIdsReq) returns(GetLdapUsersRsp){}
|
||||
//ldap部门添加成员
|
||||
rpc AddLdapOrganizationMember(AddLdapOrganizationMemberReq) returns(basic.Response){}
|
||||
//ldap部门移除成员
|
||||
|
@ -234,6 +236,17 @@ message DeleteLdapUserReq{
|
|||
message GetLdapUserInfoReq{
|
||||
string user_dn = 1;//用户dn
|
||||
}
|
||||
|
||||
//获取用户信息--批量
|
||||
message GetLdapUsersByUserIdsReq{
|
||||
repeated int64 user_ids = 1;//用户ID
|
||||
}
|
||||
//获取用户信息--批量
|
||||
message GetLdapUsersByUserIdsRsp{
|
||||
repeated GetLdapUsersItem list = 1;
|
||||
string paging_cookie = 2;
|
||||
}
|
||||
|
||||
message GetLdapUserInfoRsp{
|
||||
int64 user_id = 1; //用户id
|
||||
string user_dn = 2; //用户dn
|
||||
|
|
Loading…
Reference in New Issue
Block a user