# SessionSettings.ProfileSystemScope([Boolean]) Method
> Version: _Available or changed with runtime version 1.0 until version 13.0 where it was deprecated for the following reason: "System profiles have been deprecated. All profiles are now in the Tenant. Setting this value to true has no effect."_
Gets or sets the profile scope property in a SessionSettings object.
## Syntax
```al
[ProfileSystemScope := ]  SessionSettings.ProfileSystemScope([NewProfileScope: Boolean])
```
> NOTE
> This method can be invoked using property access syntax.
## Parameters
SessionSettings
Type: sessionsettings-data-type
An instance of the sessionsettings-data-type data type.
*[Optional] NewProfileScope*
Type: ../boolean/boolean-data-type
Specifies whether the profile applies to the system or to a tenant only. true sets the profile to apply to the system; false sets the profile to apply to a tenant only.
## Return Value
*[Optional] ProfileSystemScope*
Type: ../boolean/boolean-data-type
true if the profile applies to the system; false if the profile applies to a tenant.
## Remarks
The ProfileSystemScope property in a SessionSettings object corresponds to the Scope field in the in the system table 2000000073 User Personalization.
## Example
This example creates a SessionSettings object, and then uses the ProfileSystemScope method to set the profile scope to apply to the system. This example requires a SessionSettings data type variable.
```al
var
  MySessionSettings : SessionSettings;
begin
  MySessionSettings.ProfileSystemScope(true);
end;
```
## Related information
sessionsettings-data-type
Get Started with AL<../../devenv-get-started>
Developing Extensions<../../devenv-dev-overview>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/sessionsettings/sessionsettings-profilesystemscope-method, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/sessionsettings/sessionsettings-profilesystemscope-method/
