[This is preliminary documentation and is subject to change.]
Sets the permission on the entire dataset. It creates four extra column in the dataset.
Namespace:
OfficeClip.DBLayer.SecurityAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public void SetPermissionOnDataSet( ref DataTable dt, BusinessConstants..::.ObjectType oType, string objectIdColumnName, string ownerIdColumnName, string groupIdColumnName, GroupSelection gsel, ConfigureInfo session ) |
Visual Basic (Declaration) |
---|
Public Sub SetPermissionOnDataSet ( _ ByRef dt As DataTable, _ oType As BusinessConstants..::.ObjectType, _ objectIdColumnName As String, _ ownerIdColumnName As String, _ groupIdColumnName As String, _ gsel As GroupSelection, _ session As ConfigureInfo _ ) |
Visual C++ |
---|
public: void SetPermissionOnDataSet( DataTable^% dt, BusinessConstants..::.ObjectType oType, String^ objectIdColumnName, String^ ownerIdColumnName, String^ groupIdColumnName, GroupSelection gsel, ConfigureInfo^ session ) |
Parameters
- dt
- Type: System.Data..::.DataTable%
The datatable where the permission is to be set
- oType
- Type: OfficeClip.BusinessLayer..::.BusinessConstants..::.ObjectType
The object type id
- objectIdColumnName
- Type: System..::.String
The column of the object id
- ownerIdColumnName
- Type: System..::.String
The column of the owner id
- groupIdColumnName
- Type: System..::.String
The column of the group id
- gsel
- Type: OfficeClip.Utils..::.GroupSelection
the group selection criteria
- session
- Type: OfficeClip.Utils..::.ConfigureInfo
the user session