JohannJ
9 months agoNew Contributor II
Extract detailed user info with business rule
Hi,
For user maintenance purposes we'd like to extract information like user email address etc, using business rules.
I've tried using BRApi.Security.Admin.* but that only seems to support extracting a few of the fields, like name, status and text fields.
If anyone has any ideas or suggestions on how to accomplish this, it'd be greatly appreciated if you'd share.
Have a good one,
Johann
JohannJ -
BR
Dim objGroupInfo As GroupInfo = BRApi.Security.Admin.GetGroup(si, secGroupName)
Dim objUserInfo As UserInfo = BRApi.Security.Admin.GetUser(si, userName)
SQLSELECT S.UniqueID as UserID , S.Name as Username, G.Name As GroupName
FROM SECUSER S JOIN SECGROUPCHILD SG
ON S.UniqueID = SG.CHILDKEY
JOIN SECGROUP G
ON SG.GROUPKEY = G.UniqueID