●函数
在一台服务器上查询一个用户所隶属于的所有组
int32 sc3_query_auth_of_user(
hd3_in const char* szUserName,
hd3_in const char* szAuthItemName,
hd3_out int32* pnAuth
);
●参数
szUserName
[in] 用户名称。
szAuthItemName
[in] 授权项名称。
pnAuth
[out] 权限值.
●返回值
查询成功,返回RD_SUCCESS。查询失败返回其它错误码,见error_code.h。
●说明
●举例
示例代码参见授权项。
参见:
▪sc3_delete_auth_tem_from_group
▪sc3_query_auth_items_of_group
▪sc3_query_groups_of_auth_item
©2015. All Rights Reserved.