Deny Action Message


Author
Message
Tim Dol
Tim Dol
StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
I created a permission for a button on my form.  In the Denied Action section I set the Action to 'message key' and entered the message key.

When the user clicks on the button I can't figure out how to trigger the denied action message.. or can you do this with one condition?

If SecurityBasics.CurrentUser.GetPermission("save_Layout").Action = PermissionAction.Grant The

Do stuff....

else

Show Denied Message.

 

Thanks
Tim

 

 

 


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search