﻿<?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  » Check if permission key exists?</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 08 Jun 2026 22:44:48 GMT</lastBuildDate><ttl>20</ttl><item><title>Check if permission key exists?</title><link>http://forum.strataframe.net/FindPost19399.aspx</link><description>&lt;FONT size=2&gt;&lt;FONT color=#3333dd&gt;&lt;BR&gt;&lt;FONT color=#0000ff size=2&gt;Hi,&lt;/P&gt;&lt;P&gt;Is there a way of checking if a permission key exists? I don't mean whether a permission is granted or denied but rather whether the PermissionKey exists before calling SecurityBasics.CurrentUser.GetPermission.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description><pubDate>Sun, 14 Sep 2008 10:24:49 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>RE: Check if permission key exists?</title><link>http://forum.strataframe.net/FindPost19400.aspx</link><description>The easiest thing would just be to called a scalar method to return a count from within the SFSPermissions table.&amp;nbsp; If you use the RBS classes it will just return the default action that you have set if it is not found (i.e. Grant or Deny).</description><pubDate>Sun, 14 Sep 2008 10:24:49 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>