StrataFrame Forum

Implementing Security

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

By Kevin Lingofelter - 10/3/2006

Hello,

I purchase the add-on yesterday. I have successfully created all the roles, permissions and users in the editor. I've selected the security project in the solution preferences and have set a few security keys in both form and business objects, but I'm not getting any security related messages.

The permissions do have a message defined in the permission itself.

I've looked at the ShowLoginAndInitMainForm event comments. In the comment, there is a reference to the LoginSuccessfull property, but that property doesn't exist in the ShowLoginAndInitFormEventArgs that is passed along.

Am I missing something somewhere? Are there any samples on using the library?

Thanks!

By StrataFrame Team - 10/4/2006

We are creating a new template for security that will show how to use the ShowLoginAndInitMainForm method.  The e.LoginSuccessful property has been changed to e.ShowMainForm.  The sematics are the same, so if you set it to True, the application will continue on and show the main form.  Also, you will have to deploy the data for your security project to your database or set the SecurityBasics.SecurityDataSourceKey to point to the StrataFrame database so that your application can see the security tables.