PropertyConstants class

Represents the constants for all out-of-box profile property names.

Inheritance hierarchy

System.Object
  Microsoft.Office.Server.UserProfiles.PropertyConstants

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class PropertyConstants
'Usage
Dim instance As PropertyConstants
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class PropertyConstants

Remarks

All PropertyConstants fields are string values that represent the names of properties that hold profile information. These constants can be passed into the indexer of a profile object, such as the UserProfile object.

Thread safety

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

See also

Reference

PropertyConstants members

Microsoft.Office.Server.UserProfiles namespace