---
schema_version: "1"
id: fcecd28068aaa25b7a7553fe5ec71244b79a5c55c834d9e2309ab34cffb1f82b
title: OrgEmailAddressSecurity
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_orgemailaddresssecurity.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_orgemailaddresssecurity.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0723507a51037e543e4af38ffa5094923606c88a95e740e1033d46fccf24f6e0
description: Defines the assignment of a user profile to an org-wide email address. This object is available in API version 58.0 and later.
---
# OrgEmailAddressSecurity

Defines the assignment of a user profile to an org-wide email address. This object is available in API version 58.0 and later.

## Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

## Special Access Rules

Only authenticated users with the View Setup and Configuration permission can access this object.

## Fields

| Field | Details |
| --- | --- |
| OrgWideEmailAddressId | 
Type

reference

Properties

Create, Filter, Group, Sort

Description

The ID of an organization-wide email address.

This field is a relationship field.

Relationship Name

OrgWideEmailAddress

Relationship Type

Lookup

Refers To

OrgWideEmailAddress



 |
| ParentId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

The profile ID that’s allowed to use an organization-wide email address.

This field is a relationship field.

Relationship Name

Parent

Relationship Type

Lookup

Refers To

Profile



 |

## Usage

You can use this object with OrgWideEmailAddress and Profile objects to retrieve user profiles that have access to a specific org-wide email address. To find specific users, use the ProfileId field on the User object.

You can also retrieve the org-wide email addresses that a specific user can access. Note that any users assigned to those org-wide email addresses via permission set aren’t returned.