﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Role Based Security  » how to check permissions for user other than the current user</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 24 May 2026 21:55:46 GMT</lastBuildDate><ttl>20</ttl><item><title>how to check permissions for user other than the current user</title><link>http://forum.strataframe.net/FindPost23729.aspx</link><description>I need to check permissions for a given key&amp;nbsp;for a user for which I will only have either the username or primekey value.It will not be the currently logged in user. How please?</description><pubDate>Wed, 01 Jul 2009 13:28:42 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: how to check permissions for user other than the current user</title><link>http://forum.strataframe.net/FindPost23730.aspx</link><description>You will just need to create a LoggedInUser instance and after taht you can do everything that you want to do.  The below logic will bypass authentication:&lt;br&gt;
&lt;br&gt;
[codesnippet]'-- Establish Locals&lt;br&gt;
Dim user As New MicroFour.StrataFrame.Security.BusinessObjects.SFSUsersBO()&lt;br&gt;
Dim rbsUser As MicroFour.StrataFrame.Security.LoggedInUser&lt;br&gt;
&lt;br&gt;
'-- Populate the BO with the user&lt;br&gt;
user.FillByUserName("MyUserName")&lt;br&gt;
&lt;br&gt;
'-- Create the logged in user reference&lt;br&gt;
rbsUser = MicroFour.StrataFrame.Security.LoggedInUser.CreateNew(user)&lt;br&gt;
&lt;br&gt;
'-- You can now test on permissions etc. off of the rbsUser[/codesnippet]&lt;br&gt;
&lt;br&gt;</description><pubDate>Wed, 01 Jul 2009 13:28:42 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>