Share via


PropertyDataType Class

The PropertyDataType class represents the definition for the data types of a profile property.

System.Object

   Microsoft.SharePoint.Portal.UserProfiles.PropertyDataType

Public Fields

The following table shows the fields of the PropertyDataType class and a brief description of each.

Name Description
DisplayName Specifies the friendly name of the user for the specified user profile
IsEmail Specifies a value indicating whether the data type of a property used for a user profile is in e-mail format
IsHTML Specifies a value indicating whether the data type of a property used for a user profile is in HTML format
IsPerson Specifies a value indicating whether the data type of a property used for a user profile refers to the user name of a person
IsURL Specifies a value indicating whether the data type of a property used for a user profile refers to a URL
MaxCharCount Specifies the maximum allowed character count for the value of a specified property used for a user profile
Name Specifies the name of the data type used as a property for a user profile

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Example

The following code example shows the use of the PropertyDataType class.

Requirements

Namespace: Microsoft.SharePoint.Portal.UserProfiles

Platforms: Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security