Yep.
Absolutely. Otherwise how are your end-users going to be able to create their users and assign permissions? This is the SecurityDialog class in the Security assembly. Just create a refefence and call SHowDialog and then it is ready for use within your app.
Private Sub ShowSecurityDialog() Dim showPermissionFlag As Boolean = False Dim showRestrictionSetsFlag As Boolean = False If SecurityBasics.CurrentUser.IsAdministrator Then showPermissionFlag = True showRestrictionSetsFlag = True End If '-- Create the form and show it Using loDialog As New SecurityDialog(showPermissionFlag, showRestrictionSetsFlag) loDialog.ViewSecurityKey = "UsersForm" loDialog.ShowDialog() End UsingEnd Sub
showPermissionFlag =
showRestrictionSetsFlag =
loDialog.ViewSecurityKey =
loDialog.ShowDialog()