EnvironmentPermissionAccess.Read and EnvironmentPermissionAccess.Write access to environment variables. EnvironmentPermissionAccess.AllAccess represents multiple System.Security.Permissions.EnvironmentPermissionAccess values and causes an ArgumentException when used as the flag parameter for the EnvironmentPermission.GetPathList(EnvironmentPermissionAccess) method, which expects a single value.
Value: AllAccess