Skip to content

/AWS1/CL_KNDPRINCIPAL

Provides user and group information for user context filtering.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_name TYPE /AWS1/KNDPRINCIPALNAME /AWS1/KNDPRINCIPALNAME

The name of the user or group.

iv_type TYPE /AWS1/KNDPRINCIPALTYPE /AWS1/KNDPRINCIPALTYPE

The type of principal.

iv_access TYPE /AWS1/KNDREADACCESSTYPE /AWS1/KNDREADACCESSTYPE

Whether to allow or deny document access to the principal.

Optional arguments:

iv_datasourceid TYPE /AWS1/KNDDATASOURCEID /AWS1/KNDDATASOURCEID

The identifier of the data source the principal should access documents from.


Queryable Attributes

Name

The name of the user or group.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

Type

The type of principal.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

Access

Whether to allow or deny document access to the principal.

Accessible with the following methods

Method Description
GET_ACCESS() Getter for ACCESS, with configurable default
ASK_ACCESS() Getter for ACCESS w/ exceptions if field has no value
HAS_ACCESS() Determine if ACCESS has a value

DataSourceId

The identifier of the data source the principal should access documents from.

Accessible with the following methods

Method Description
GET_DATASOURCEID() Getter for DATASOURCEID, with configurable default
ASK_DATASOURCEID() Getter for DATASOURCEID w/ exceptions if field has no value
HAS_DATASOURCEID() Determine if DATASOURCEID has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_PRINCIPALLIST

TYPES TT_PRINCIPALLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_KNDPRINCIPAL WITH DEFAULT KEY
.