[This is preliminary documentation and is subject to change.]
Sets the permission on the entire 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, int currentUserId, int currentGroupId, bool isAdmin, string accessReadColumnName, string accessWriteColumnName, string accessAppendColumnName, string accessDeleteColumnName ) |
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, _ currentUserId As Integer, _ currentGroupId As Integer, _ isAdmin As Boolean, _ accessReadColumnName As String, _ accessWriteColumnName As String, _ accessAppendColumnName As String, _ accessDeleteColumnName As String _ ) |
Visual C++ |
---|
public: void SetPermissionOnDataSet( DataTable^% dt, BusinessConstants..::.ObjectType oType, String^ objectIdColumnName, String^ ownerIdColumnName, String^ groupIdColumnName, GroupSelection gsel, int currentUserId, int currentGroupId, bool isAdmin, String^ accessReadColumnName, String^ accessWriteColumnName, String^ accessAppendColumnName, String^ accessDeleteColumnName ) |
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
- currentUserId
- Type: System..::.Int32
The unique id of the current user
- currentGroupId
- Type: System..::.Int32
The unique id of the current group
- isAdmin
- Type: System..::.Boolean
True if the current user is an administrator
- accessReadColumnName
- Type: System..::.String
The column name for access read
- accessWriteColumnName
- Type: System..::.String
The column name for access write
- accessAppendColumnName
- Type: System..::.String
The column name for access append
- accessDeleteColumnName
- Type: System..::.String
The column name for access delete