If the user doesn't have any access to a website ('noaccess'),
this website will not be in the returned array.
If the user doesn't have any access, the returned array will be an empty array.
public getSitesAccessFromUser ( string $userLogin ) : array | ||
$userLogin | string | User that has to be valid |
return | array | The returned array has the format array( idsite1 => 'view', idsite2 => 'admin', idsite3 => 'view', ... ) |