Identity/OrganizationSecurityIdentity.php
private static function buildOrganizationUserRoles(array $roles, RoleableInterface $user, $orgName)
    {
        foreach ($user->getRoles() as $role) {
            $roles[] = RoleUtil::formatName($role).'__'.$orgName;
        }

        return $roles;
    }
private static function buildOrganizationUserRoles(array $roles, RoleableInterface $user, $orgName)
    {
        foreach ($user->getRoles() as $role) {
            $roles[] = RoleUtil::formatName($role).'__'.$orgName;
        }

        return $roles;
    }
private static function buildOrganizationUserRoles ( array $ roles , RoleableInterface $ user , $ orgName ) { foreach ( $ user -> getRoles ( ) as $ role ) { $ roles [ ] = RoleUtil :: formatName ( $ role ) . '__' . $ orgName ; } return $ roles ; }
Build the organization user roles.

@param string[]          $roles   The roles
@param RoleableInterface $user    The organization user
@param string            $orgName The organization name

@return string[]
Build the organization user roles .