Class RowVisibleForHelper
Utility class helping set VisibleFor permissions on row and rows objects.
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public static class RowVisibleForHelper : Object
Methods
SetVisibleFor(TableRowBase)
Set visible for on a row. The row is set to visible for all.
Declaration
public static void SetVisibleFor(TableRowBase owner)
Parameters
Type | Name | Description |
---|---|---|
TableRowBase | owner | Row to set visible for on. |
SetVisibleFor(TableRowBase, RowVisibleForHelper.VisibleFor)
Set visible for on a row.
Declaration
public static void SetVisibleFor(TableRowBase owner, RowVisibleForHelper.VisibleFor visibleFor)
Parameters
Type | Name | Description |
---|---|---|
TableRowBase | owner | Row to set visible for on. |
RowVisibleForHelper.VisibleFor | visibleFor | Level of visibility. |
SetVisibleFor(TableRowBase, RowVisibleForHelper.VisibleFor, Int32)
Set visible for on a row.
Declaration
public static void SetVisibleFor(TableRowBase owner, RowVisibleForHelper.VisibleFor visibleFor, int groupId)
Parameters
Type | Name | Description |
---|---|---|
TableRowBase | owner | Row to set visible for on. |
RowVisibleForHelper.VisibleFor | visibleFor | Level of visibility. |
Int32 | groupId | GroupId to use if visibility is set to group. Default group will be used if the value is 0. |
SetVisibleFor(TableRowsBase)
Set visible for on the provided rows. The row will be visible for all.
Declaration
public static void SetVisibleFor(TableRowsBase owners)
Parameters
Type | Name | Description |
---|---|---|
TableRowsBase | owners | Rows to set visible for on. |
SetVisibleFor(TableRowsBase, RowVisibleForHelper.VisibleFor)
Set visible for on the provided rows.
Declaration
public static void SetVisibleFor(TableRowsBase owners, RowVisibleForHelper.VisibleFor visibleFor)
Parameters
Type | Name | Description |
---|---|---|
TableRowsBase | owners | Rows to set visible for on. |
RowVisibleForHelper.VisibleFor | visibleFor | Level of visibility. |
SetVisibleFor(TableRowsBase, RowVisibleForHelper.VisibleFor, Int32)
Set visible for on the provided rows.
Declaration
public static void SetVisibleFor(TableRowsBase owners, RowVisibleForHelper.VisibleFor visibleFor, int groupId)
Parameters
Type | Name | Description |
---|---|---|
TableRowsBase | owners | Rows to set visible for on. |
RowVisibleForHelper.VisibleFor | visibleFor | Level of visibility. |
Int32 | groupId | GroupId to use if visibility is set to group. Default group will be used if the value is 0. |