TreeSecurityProvider FilterDataSetByClassPermissions Method Kentico 8.1 API Reference
Filters all tables of the given DataSet and returns only those records for which the user was granted with required permission.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

sourceDataSet
Type: OnlineSystem.Data DataSet
Source DataSet
permission
Type: CMS.DocumentEngine NodePermissionsEnum
Required permission
userInfo
Type: CMS.Membership UserInfo
UserInfo instance
allowOwner (Optional)
Type: OnlineSystem Boolean
If true, documents the owner of which is the given user are not filtered out even if the user has not the permission

Return Value

Type: OnlineDataSet
See Also