Skip to content

GetSecurityProfiles

Returns the security profiles defined on a domain.

1
$Domain.GetSecurityProfiles():object

Remarks

Returns an object with the following keys of profile names and values of profile ids.

Example

1
2
3
let profiles = $Domain.GetSecurityProfiles();
let defaultProfileId = profiles.Default;
let myProfileId = profiles.MyProfile;