Allows to access domain specific properties like $Domain.Url or $Domain.LogoUrl

$Domain.GetSecurityProfiles and $Domain.HasPermission methods allow to perform custom role based security checks with using security profiles.