static void Getuserroles(Args _args)
{
SecurityRole role;
SecurityUserRole userRole;
UserInfo userInfo;
;
while select role
exists join userRole
where role.RecId == userRole.SecurityRole
&& userRole.User == curUserId()
{
info(strFmt(“%1 – %2”, role.Name,curUserId()));
}
}


留言评论
暂无留言