Open xuexuemiao opened 7 years ago
使用LogInByLdap以使用绑定的Ldap账户的UID和密码登录。
org.zstack.ldap.APILogInByLdapMsg
管理员可以使用LogInByLdap来使用绑定的Ldap账户的UID和密码登录. 例如:
LogInByLdap uid="ldapuser1" password="password"
返回结果:
{ "inventory": { "accountUuid": "ee833daa4f9541e888d94bfade6a625f", "createDate": "Dec 22, 2016 1:11:12 PM", "expiredDate": "Dec 26, 2016 5:11:22 PM", "userUuid": "36c27e8ff05c4780bf6d2fa65700f22e", "uuid": "ee833daa4f9541e888d94bfade6a625f" }, "inventory": { "ldapUid": "ebc8055882374ff19f46c3234163b36e", "ldapServerUuid": "f995b4e3593c45fabeabd92185d33f91", "accountUuid": "ee833daa4f9541e888d94bfade6a625f", "createDate": "Nov 2, 2016 11:22:15 PM", "lastOpDate": "Nov 2, 2016 11:22:29 PM", "uuid": "62eea75fc6204a439d3d1dd7b1946bc5" }, "success": true }
描述
使用LogInByLdap以使用绑定的Ldap账户的UID和密码登录。
API
org.zstack.ldap.APILogInByLdapMsg
举例(Example)
管理员可以使用LogInByLdap来使用绑定的Ldap账户的UID和密码登录. 例如:
返回结果:
参数(Parameters)
备注
Feature_link