<PackageReference Include="System.Security.Permissions" Version="9.0.6" />

PeerCollaborationPermission

Specifies the values that define or are used in Collaboration object permissions.

Initializes a new instance of the PeerCollaborationPermission. The initial PermissionState for this instance is passed when the constructor is called.

public bool IsUnrestricted()

Returns a value specifying whether the current PeerCollaborationPermission is unrestricted.