📚 SAP Business One SDK Help

UserPermissionTree Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a record to the object table in SAP Business One company database.
Public Method GetAsXMLReturns the object from XML data, which is stored as string in a buffer.
Public Method GetByKeyRetrieves and sets the values of the object's properties by the object's absolute key from the Company database.
Public Method RemoveDeletes a record from the object table.
Public Method SaveToFileSave the object to a file as XML data.
Public Method SaveXMLSaves the object data to XML formatted data.
Public Method UpdateUpdates the object data in the company database.

Public Properties

Public Property BrowserReturns the DataBrowser object.
Public Property DisplayOrderReturns the display order of the user permission form in the tree (starts from 1).

Field name: VisOrder.

Public Property IsItemSets or returns a valid value of BoYesNoEnum type that specifies whether or not the user permission relates to an item in the form, for example, button, secondary form, and menu item.

Field name: IsItem.

Public Property LevelsReturns the level (1 to 5) of the user permission in the tree. For parent user permissions, assign level 1. For child user permissions, assign level greater than 1.

Field name: Levels.

Public Property NameSets or returns the name of the user permission. This name will appear in the General Authorization Tree.

Field name: Name.

Length: 40 characters.

Public Property OptionsSets or returns a valid value of BoUPTOptions type that specifies the user permission options.

Field name: Options.

Public Property ParentIDSets or returns the identification key of the parent user permission.

Mandatory field for child permission in a tree.

Length: 20 characters.

Field name: FathId.

Public Property PermissionIDSets or returns the identification key of the user permission.

Mandatory property.

Length: 20 characters.

Field name: AbsId.

Public Property UserFieldsReturns the UserFields object.
Public Property UserPermissionFormsReturns the UserPermissionForms child object.
Public Property UserSignatureReturns the ID code of the user who enters the user permission tree details. This user ID code is defined in the Users object.

Field name: UserSign.

This is a foreign key to the Users object.

See Also