OverheadSheetColumn.PermissionID Property

Gets the ID of the column usable for permissions in the user profile.
Public ReadOnly Property PermissionID() As String
This language is not supported or no code example is available.
public string PermissionID {get;}
This language is not supported or no code example is available.

Property Value

string

The ID for permissions or an empty string if such ID is not possible. For example, "Selling" or "Selling:MATERIAL_TotalSellingPrice\MATERIAL_Currency\EUR".

Remarks
 

The permissions ID of native columns (not created by the user) is simply the column type, such as "Mnemonics" or "Selling". This ID applies permissions to all native columns of the same type.

Non-free columns have the permissions ID constructed of several parts. The first part is the column type followed by a ":" character, such as "Selling:". The other part(s) identify the particular fields, and if multiple, they are delimited with a "\" character. For example, if the user added some return factor column, it will have the ID "SellingFactor:SOME_FIELD_ID".

Free columns (with OverheadSheetColumnKind.FreeField) and macro columns have their permissions ID set manually by the user.

The columns in user sheets (with NativeSheetType.User) are all of the type OverheadSheetColumnKind.GeneralColumn and they have no ID. Similarly, all columns in the following sheets are of the type OverheadSheetColumnKind.NativeColumn and they have no ID neither: 
NativeSheetType.Summary 
NativeSheetType.CashData 
NativeSheetType.Names 
NativeSheetType.Wbs 
NativeSheetType.Template 
This property returns an empty string in such cases.

Version
 
Available since QDV 7.23.1099.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition