Member Class Properties
In this section, the Member class properties are presented in alphabetical order.
Description
Use this property to return the participant’s name as a string value.
This property is read-only.
Description
Use this property to set or return the privilege level assigned to this participant as a string value.
This property is read-write.
Example
Set or return a value for the PrivilegeSetID property using the Constants class:
Constant Value |
Description |
---|---|
&PTAI_CONSTANTS.PRIVSET_ADMIN |
Administrator |
&PTAI_CONSTANTS.PRIVSET_CONTRIBUTOR |
Contributor |
&PTAI_CONSTANTS.PRIVSET_VIEWER |
Viewer |
For example:
import PTAI_ACTION_ITEMS:*;
Local PTAI_ACTION_ITEMS:Constants &PTAI_CONSTANTS;
Local PTAI_ACTION_ITEMS:Member &member;
&PTAI_CONSTANTS = create PTAI_ACTION_ITEMS:Constants();
&member = create PTAI_ACTION_ITEMS:Member(&name, &type);
&member.PrivilegeSetID = &PTAI_CONSTANTS.PRIVSET_ADMIN;
Description
Use this property to return the participant type (user or role) as a string value.
This property is read-only.