How to determine user permissions in custom pages using SharePoint Designer

Sometimes we need to determine user’s permission when custom development using SharePoint Designer, and supply different services by user’s permission. There is one control which could spot user’s permission: SPSecurityTrimmedControl. If you want to have different behaviors by different permission using SharePoint Designer to custom development, this control is very useful. Below is one example, Note: the permission is superimposed:



Below are all Permission String:
List Permissions
ManageLists
CancelCheckout
AddListItems
EditListItems
DeleteListItems
ViewListItems
ApproveItems
OpenItems
ViewVersions
DeleteVersions
CreateAlerts
ViewFormPages
Site Permissions
ManagePermissions
ViewUsageData
ManageSubwebs
ManageWeb
AddAndCustomizePages
ApplyThemeAndBorder
ApplyStyleSheets
CreateGroups
BrowseDirectories
CreateSSCSite
ViewPages
EnumeratePermissions
BrowseUserInfo
ManageAlerts
UseRemoteAPIs
UseClientIntegration
Open
EditMyUserInfo
Personal Permissions
ManagePersonalViews
AddDelPrivateWebParts
UpdatePersonalWebParts