Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click ShowSecurityDialog()End Sub Private Sub ShowSecurityDialog() Dim showPermissionFlag As Boolean = False Dim showRestrictionSetsFlag As Boolean = False If MicroFour.StrataFrame.Security.SecurityBasics.CurrentUser.IsAdministrator Then showPermissionFlag = True showRestrictionSetsFlag = True End If '-- Create the form and show it Using loDialog As New MicroFour.StrataFrame.Security.SecurityDialog(showPermissionFlag, showRestrictionSetsFlag) loDialog.ShowDialog() End UsingEnd Sub
Now run the application and login with the current credentials then click your button and the Security Editor will show up.You will have no data there since there is no really a Security metadata shipped with StrataFlix, but you can create usersand roles and then test if you can copy those roles as in your real application.See this short video showing the same steps (sorry no audio)http://screencast.com/t/HVxL8Fn2Hope this help you figure out your issue.