SPSecurityTrimmedControl.PermissionsString Property
Gets or sets the PermissionString.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
The PermissionsString attribute defines the permissions the user must have in order to view the content. See SPBasePermissions enumeration for a listing of possible values.
Permissions Strings
$0here are the permission strings$0
$0$0
$0
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spbasepermissions.aspx
- 1/19/2012
- Thomas Daly
Are you kidding me?
Why on earth would you not provide the *list* of strings that are possible along with a description of the effect? It's not even in the "See Also" section.
- 1/11/2012
- Jamie Fraser
Relationship between permissions in this property
Using Reflector on the WebControl you might conclude that the relationship between permissions stated in this property is "||" (OR) - in this example, the user would need to EITHER have "AddAndCustomizePages" OR "ManageLists" for the content to be rendered. However, tests suggest that the relationship is "&&" (AND) which is probably true because of the bitwise combination on the SPBasePermissions enumerator.
- 3/19/2011
- boomshanka
- 3/19/2011
- boomshanka
