ProfileSubtypeProperty ProfileSubtypeProperty ProfileSubtypeProperty Class

Definition

Defines a profile subtype property.

public ref class ProfileSubtypeProperty sealed : Microsoft::Office::Server::UserProfiles::PropertyBase, Microsoft::Office::Server::UserProfiles::IPrivacyPolicyItem
public sealed class ProfileSubtypeProperty : Microsoft.Office.Server.UserProfiles.PropertyBase, Microsoft.Office.Server.UserProfiles.IPrivacyPolicyItem
Public NotInheritable Class ProfileSubtypeProperty
Inherits PropertyBase
Implements IPrivacyPolicyItem
Inheritance
ProfileSubtypePropertyProfileSubtypePropertyProfileSubtypeProperty
Implements

Remarks

Use this class to set properties for profile subtypes created under ProfileType. Subtype properties based on the same ProfileType property can share type-level attributes. For example, profile import occurs at type level, so if different subtypes under the User type share a property (such as phone number), that property is imported for all the User subtypes (such as employees and customers). Use this class, with CoreProperty and ProfileTypeProperty, instead of Property.

Properties

AllowPolicyOverride AllowPolicyOverride AllowPolicyOverride

Gets a value indicating whether a privacy policy override is allowed for this property.

CoreProperty CoreProperty CoreProperty

Gets the core property that matches this profile subtype property.

DefaultPrivacy DefaultPrivacy DefaultPrivacy

Gets or sets the default privacy for this property.

DisplayName DisplayName DisplayName

Gets the display name for this property.

DisplayOrder DisplayOrder DisplayOrder

Gets position in the display order for this property.

IsAdminEditable IsAdminEditable IsAdminEditable

Gets a value indicating whether this property can be edited by an administrator.

IsAlias IsAlias IsAlias

Gets a value indicating whether this property is a user alias.

IsImported IsImported IsImported

Gets a value indicating whether this property has been imported.

IsRequired IsRequired IsRequired

Gets a value indicating whether this is a mandatory property.

IsSection IsSection IsSection

Gets a value indicating whether this is a section property.

IsUpgrade IsUpgrade IsUpgrade

Gets or sets a value indicating whether this property exists in a previously upgraded installation.

(Inherited from PropertyBase)
IsUpgradePrivate IsUpgradePrivate IsUpgradePrivate

Gets or sets a value indicating whether this property exists in a previously upgraded installation.

(Inherited from PropertyBase)
IsUserEditable IsUserEditable IsUserEditable

Gets or sets a value indicating whether this property can be edited by users.

Name Name Name

Gets or sets the property name.

PartitionID PartitionID PartitionID

Gets the GUID that uniquely identifies the current partition for this property.

(Inherited from PropertyBase)
PrivacyPolicy PrivacyPolicy PrivacyPolicy

Gets or sets the privacy policy for this property.

ProfileName ProfileName ProfileName

Gets the name of the profile associated with this profile subtype property.

TypeProperty TypeProperty TypeProperty

Gets the profile type property that matches this profile subtype property.

UserOverridePrivacy UserOverridePrivacy UserOverridePrivacy

Gets or sets a value indicating whether a user is allowed to override the privacy for this property.

Methods

Commit() Commit() Commit()

Commits changes to this profile subtype property's definition to the user profile database.

Commit(Boolean) Commit(Boolean) Commit(Boolean)

Pushes an updated property definition to the user profile database.

(Inherited from PropertyBase)
LoadPropertyDefinition() LoadPropertyDefinition() LoadPropertyDefinition()

Loads the property definition from the database.

(Inherited from PropertyBase)
LoadPropertyDefinition(IDataRecord) LoadPropertyDefinition(IDataRecord) LoadPropertyDefinition(IDataRecord)

Loads the property definition that is defined by the specified data record from the database.

(Inherited from PropertyBase)
LoadPropertyDefinition(SqlCommand, Boolean) LoadPropertyDefinition(SqlCommand, Boolean) LoadPropertyDefinition(SqlCommand, Boolean)

Loads the property definition that is defined by the specified SQL command.

(Inherited from PropertyBase)
PostAddedCleanup() PostAddedCleanup() PostAddedCleanup()

Reloads a property definition and performs any necessary cleanup.

(Inherited from PropertyBase)
PostUpdatedCleanup() PostUpdatedCleanup() PostUpdatedCleanup()

Reloads a property definition and performs any necessary cleanup.

(Inherited from PropertyBase)
UpdateLocalizedData() UpdateLocalizedData() UpdateLocalizedData()

Updates any localized data associated with the property.

(Inherited from PropertyBase)
WriteDisplayOrderUpdatePropertyAttributesXML(XmlWriter) WriteDisplayOrderUpdatePropertyAttributesXML(XmlWriter) WriteDisplayOrderUpdatePropertyAttributesXML(XmlWriter)

Writes to XML the property attributes, in display order, required for updating.

WriteRemovePropertyAttributesXML(XmlTextWriter) WriteRemovePropertyAttributesXML(XmlTextWriter) WriteRemovePropertyAttributesXML(XmlTextWriter)

Writes to XML the property attributes required for removing.

(Inherited from PropertyBase)
WriteUpdatePropertyAttributesXML(XmlTextWriter, PropertyBase+DBAction) WriteUpdatePropertyAttributesXML(XmlTextWriter, PropertyBase+DBAction) WriteUpdatePropertyAttributesXML(XmlTextWriter, PropertyBase+DBAction)

Writes to XML the property attributes required for updating.

(Inherited from PropertyBase)

Extension Methods

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

Applies to