Share via


ContactsContract.Directory.EnterpriseContentUri Property

Definition

URI used for getting all directories from both the calling user and the managed profile that is linked to it.

[Android.Runtime.Register("ENTERPRISE_CONTENT_URI", ApiSince=24)]
public static Android.Net.Uri? EnterpriseContentUri { get; }
[<Android.Runtime.Register("ENTERPRISE_CONTENT_URI", ApiSince=24)>]
static member EnterpriseContentUri : Android.Net.Uri

Property Value

Uri
Attributes

Remarks

URI used for getting all directories from both the calling user and the managed profile that is linked to it.

It supports the same semantics as #CONTENT_URI and returns the same columns.<br> If the device has no managed profile that is linked to the calling user, it behaves in the exact same way as #CONTENT_URI.<br> If there is a managed profile linked to the calling user, it will return merged results from both.

Note: this query returns the calling user results before the managed profile results, and this order is not affected by the sorting parameter.

Java documentation for android.provider.ContactsContract.Directory.ENTERPRISE_CONTENT_URI.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to