This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > %BI.UserRole

%BI.UserRole

persistent class %BI.UserRole extends %Library.Persistent

SQL Table Name: %BI.UserRole

Property Inventory (Including Private)

Properties (Including Private)

property Roles as %BI.Roles;
Property methods: RolesGet(), RolesGetObject(), RolesGetObjectId(), RolesGetStored(), RolesGetSwizzled(), RolesIsValid(), RolesNewObject(), RolesSet(), RolesSetObject(), RolesSetObjectId(), RolesUnSwizzle()
relationship Users as %BI.Users [ Required , Inverse = UserRole , Cardinality = parent ];
Property methods: UsersCheck(), UsersDelete(), UsersGet(), UsersGetObject(), UsersGetObjectId(), UsersGetStored(), UsersGetSwizzled(), UsersIsValid(), UsersNewObject(), UsersOnDelete(), UsersRClose(), UsersRExec(), UsersRFetch(), UsersRelate(), UsersSQLCompute(), UsersSet(), UsersSetObject(), UsersSetObjectId(), UsersUnRelate(), UsersUnSwizzle()

Queries

query AllRoleUser(RoleRow As %String)
SQL Query:
SELECT ID,Users->FullName FROM %BI.UserRole WHERE Roles=:RoleRow
query AllUserRole(UserRow As %String)
SQL Query:
SELECT ID,Roles FROM %BI.UserRole WHERE Users=:UserRow

Indexes

index (Role on Roles:Exact,Users:Exact);
Index methods: RoleExists(), RolesGet(), RolesGetObject(), RolesGetObjectId(), RolesGetStored(), RolesGetSwizzled(), RolesIsValid(), RolesNewObject(), RolesSet(), RolesSetObject(), RolesSetObjectId(), RolesUnSwizzle()

Inherited Members

Inherited Methods (Including Private)

Storage

Storage Model: CacheStorage (%BI.UserRole)

{%%PARENT}("UserRole")(ID,"X")
=
%%CLASSNAME

Storage Model: CacheStorage (%BI.UserRole)

{%%PARENT}("UserRole")(ID)
=
Roles
Feedback