StrataFrame Forum

Determining if a user is an Admin

http://forum.strataframe.net/Topic6284.aspx

By Greg McGuffey - 1/25/2007

I saw a post that soon this will be easy for the CurrentLoggedOnUser. However, I need to do it for any user (more of my row level security issues). How do I figure this out? Lets say I fill the SFSUsersBO with all users. I want to loop through the BO and determine for each user if they are an admin (actually I'd like to query if they are an admin, but that ain't happenin), how would I do this?
By Trent L. Taylor - 1/26/2007

This data is held within an encrypted field.  You cannot access it directly.  You will have to load the user into the SFSUsersBO for it to be properly decrypted.  You can then reference the us_IsAdminitrator property.
By Greg McGuffey - 1/26/2007

OK. I was afraid you were going to say that BigGrin
By Greg McGuffey - 1/28/2007

Got this working. I can now figure out who all my administrators are. BigGrin