By Aaron Young - 9/14/2008
Hi,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. Thanks, Aaron
|
By Trent L. Taylor - 9/14/2008
The easiest thing would just be to called a scalar method to return a count from within the SFSPermissions table. 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).
|
|