# Contacts.Organizations

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# Organizations

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/provider/Contacts.Organizations "View this page in Java")  

```
class Organizations : BaseColumns, Contacts.OrganizationColumns
```

|---|------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                     ||
| ↳ | [android.provider.Contacts.Organizations](https://developer.android.com/reference/kotlin/android/provider/Contacts.Organizations#) |

*** ** * ** ***

| **This class was deprecated in API level 5.**
|
| see[android.provider.ContactsContract](https://developer.android.com/reference/kotlin/android/provider/ContactsContract)

A sub directory of a single person that contains all of their Phones.

## Summary

|                                                                                                                                  Constants                                                                                                                                  ||
|----------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [CONTENT_DIRECTORY](https://developer.android.com/reference/kotlin/android/provider/Contacts.Organizations#CONTENT_DIRECTORY:kotlin.String) The directory twig for this sub-table   |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [DEFAULT_SORT_ORDER](https://developer.android.com/reference/kotlin/android/provider/Contacts.Organizations#DEFAULT_SORT_ORDER:kotlin.String) The default sort order for this table |

| Inherited constants ||
|---|---|
| From class[OrganizationColumns](https://developer.android.com/reference/kotlin/android/provider/Contacts.OrganizationColumns) |----------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [COMPANY](https://developer.android.com/reference/kotlin/android/provider/Contacts.OrganizationColumns#COMPANY:kotlin.String) <br /> The name of the company for this organization. Type: TEXT <br />                             | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ISPRIMARY](https://developer.android.com/reference/kotlin/android/provider/Contacts.OrganizationColumns#ISPRIMARY:kotlin.String) <br /> Whether this is the primary organization Type: INTEGER (if set, non-0 means true) <br /> | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [LABEL](https://developer.android.com/reference/kotlin/android/provider/Contacts.OrganizationColumns#LABEL:kotlin.String) <br /> The user provided label, only used if TYPE is TYPE_CUSTOM. Type: TEXT <br />                     | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [PERSON_ID](https://developer.android.com/reference/kotlin/android/provider/Contacts.OrganizationColumns#PERSON_ID:kotlin.String) <br /> The person this organization is tied to. Type: TEXT <br />                               | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [TITLE](https://developer.android.com/reference/kotlin/android/provider/Contacts.OrganizationColumns#TITLE:kotlin.String) <br /> The title within this organization. Type: TEXT <br />                                            | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [TYPE](https://developer.android.com/reference/kotlin/android/provider/Contacts.OrganizationColumns#TYPE:kotlin.String) <br /> The type of the organizations. Type: INTEGER (one of the constants below) <br />                   | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)       | [TYPE_CUSTOM](https://developer.android.com/reference/kotlin/android/provider/Contacts.OrganizationColumns#TYPE_CUSTOM:kotlin.Int) <br />                                                                                         | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)       | [TYPE_OTHER](https://developer.android.com/reference/kotlin/android/provider/Contacts.OrganizationColumns#TYPE_OTHER:kotlin.Int) <br />                                                                                           | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)       | [TYPE_WORK](https://developer.android.com/reference/kotlin/android/provider/Contacts.OrganizationColumns#TYPE_WORK:kotlin.Int) <br />                                                                                             | ||
| From class[BaseColumns](https://developer.android.com/reference/kotlin/android/provider/BaseColumns) |----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_COUNT](https://developer.android.com/reference/kotlin/android/provider/BaseColumns#_COUNT:kotlin.String) <br /> The count of rows in a directory. Type: INTEGER <br /> | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_ID](https://developer.android.com/reference/kotlin/android/provider/BaseColumns#_ID:kotlin.String) <br /> The unique ID for a row. Type: INTEGER (long) <br />         | ||

|                                                                                                                                                                                                                                                                                                 Public methods                                                                                                                                                                                                                                                                                                 ||
|------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[CharSequence](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-sequence/index.html)! | [getDisplayLabel](https://developer.android.com/reference/kotlin/android/provider/Contacts.Organizations#getDisplayLabel(android.content.Context,%20kotlin.Int,%20kotlin.CharSequence))`(`context:` `[Context](https://developer.android.com/reference/kotlin/android/content/Context.html#)!`, `type:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `label:` `[CharSequence](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-sequence/index.html)!`)` <br /> |

|                                                                                                                          Properties                                                                                                                           ||
|------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html#)! | [CONTENT_URI](https://developer.android.com/reference/kotlin/android/provider/Contacts.Organizations#CONTENT_URI:android.net.Uri) The content:// style URL for this table |

## Constants

### CONTENT_DIRECTORY

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val CONTENT_DIRECTORY: String
```

**Deprecated:** *see[android.provider.ContactsContract](https://developer.android.com/reference/kotlin/android/provider/ContactsContract)*

The directory twig for this sub-table  

    Value: "organizations"

### DEFAULT_SORT_ORDER

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val DEFAULT_SORT_ORDER: String
```

**Deprecated:** *see[android.provider.ContactsContract](https://developer.android.com/reference/kotlin/android/provider/ContactsContract)*

The default sort order for this table  

    Value: "company, title, isprimary ASC"

## Public methods

### getDisplayLabel

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static fun getDisplayLabel(
    context: Context!, 
    type: Int, 
    label: CharSequence!
): CharSequence!
```

**Deprecated:** *see[android.provider.ContactsContract](https://developer.android.com/reference/kotlin/android/provider/ContactsContract)*

## Properties

### CONTENT_URI

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val CONTENT_URI: Uri!
```

**Deprecated:** *see[android.provider.ContactsContract](https://developer.android.com/reference/kotlin/android/provider/ContactsContract)*

The content:// style URL for this table