Skip to main content

Security.Resource

persistent class Security.Resource extends %Library.Persistent, %XML.Adaptor

SQL Table Name: Security.Resource

Child relationship for Security.Roles.

The table for this class should be manipulated only through object access, the published API's or through the System Management Portal. It should not be updated through direct SQL access. The table can only be queried directly by users with the %All role. Regular users should use the class queries in Security.Roles.

Property Inventory

Properties

property Name as %String (MAXLEN = 64, MINLEN = 1) [ Required ];
Name of the resource.
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property Permission as Security.Datatype.Permission [ Required ];
Permission attached to the resource.
Bit 0 - Read
Bit 1 - Write
Bit 2 - Use
Property methods: PermissionDisplayToLogical(), PermissionExternalToInternal(), PermissionGet(), PermissionGetStored(), PermissionInternalToExternal(), PermissionIsValid(), PermissionLogicalToDisplay(), PermissionLogicalToOdbc(), PermissionNormalize(), PermissionSet(), PermissionXSDToLogical()

Indexes

index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

FeedbackOpens in a new tab