Resource Description for BusinessRoleDefaultUserRole

Properties for BusinessRoleDefaultUserRole

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
businessRole BusinessRole
userRole UserRole

SDK Example for PHP

<?PHP

use Arbor\Api\Gateway\RestGateway;
use Arbor\Model\ModelBase;
use Arbor\Model\BusinessRoleDefaultUserRole;

ModelBase::setDefaultGateway(
    new RestGateway(
        "https://my-school.arbor.sc/rest-v2",
        "my.username@my-school.arbor.sc",
        "3bh54435v3gh45"
    )
);

$businessRoleDefaultUserRole = BusinessRoleDefaultUserRole::retrieve(5433);

$businessRole = $businessRoleDefaultUserRole->getBusinessRole();
$userRole = $businessRoleDefaultUserRole->getUserRole();

 

Related Resources

See also: BusinessRole, UserRole