PrivacyItem PrivacyItem PrivacyItem Class

Definition

Provides methods and properties to add, delete, retrieve, set, change, and manage an item that is a privacy item.

public ref class PrivacyItem abstract
public abstract class PrivacyItem
Public MustInherit Class PrivacyItem
Inheritance
PrivacyItemPrivacyItemPrivacyItem
Derived

Remarks

For more information about privacy policies, see Privacy Policies and Writing Policy-Compliant Code. For a code example about how to set the privacy policy of a property, see How to: Set Privacy Policies for User Profile Properties.

Fields

m_bIsNewLink m_bIsNewLink m_bIsNewLink

This member is reserved for internal use and is not intended to be used directly from your code.

m_objOwnerProfile m_objOwnerProfile m_objOwnerProfile

This member is reserved for internal use and is not intended to be used directly from your code.

m_strGroup m_strGroup m_strGroup

This member is reserved for internal use and is not intended to be used directly from your code.

m_strTitle m_strTitle m_strTitle

This member is reserved for internal use and is not intended to be used directly from your code.

m_strUrl m_strUrl m_strUrl

This member is reserved for internal use and is not intended to be used directly from your code.

Properties

Group Group Group

Gets or sets the group for the privacy item.

ID ID ID

Gets the unique identifier (ID) of the privacy item.

IsEditable IsEditable IsEditable

Returns a Boolean value that specifies whether a privacy item can be edited.

IsPrivacyLevelEditable IsPrivacyLevelEditable IsPrivacyLevelEditable

Returns a Boolean value that specifies whether a privacy level can be edited.

IsTitleEditable IsTitleEditable IsTitleEditable

Returns a Boolean value that specifies whether a privacy item title can be edited.

IsUrlEditable IsUrlEditable IsUrlEditable

Returns a Boolean value that specifies whether a privacy item URL can be edited.

ItemOwner ItemOwner ItemOwner

Gets the owner of the privacy item.

PartitionID PartitionID PartitionID
Policy Policy Policy

Gets the policy for a privacy item.

PrivacyLevel PrivacyLevel PrivacyLevel

Gets and sets the privacy level of an item.

Title Title Title

Gets or sets the title of the privacy item.

Url Url Url

Gets or sets the URL for the privacy item.

ValidGroupEnumType ValidGroupEnumType ValidGroupEnumType

This member is reserved for internal use and is not intended to be used directly from your code.

Methods

AddCustomCommitFields(SqlCommand) AddCustomCommitFields(SqlCommand) AddCustomCommitFields(SqlCommand)

This member is reserved for internal use and is not intended to be used directly from your code.

Commit() Commit() Commit()

Commits changes made to the privacy item.

Delete() Delete() Delete()

Deletes a privacy item.

GetPrivacyPolicy(Guid) GetPrivacyPolicy(Guid) GetPrivacyPolicy(Guid)

This member is reserved for internal use and is not intended to be used directly from your code.

InitializeNewPrivacyItem(String, String, Object, String, Privacy) InitializeNewPrivacyItem(String, String, Object, String, Privacy) InitializeNewPrivacyItem(String, String, Object, String, Privacy)

This member is reserved for internal use and is not intended to be used directly from your code.

SetPropertyValues(SqlDataReader) SetPropertyValues(SqlDataReader) SetPropertyValues(SqlDataReader)

Sets the property values of a privacy item.

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to