ProfileService.GetPropertiesMetadata Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves information about the profile properties that are available through the profile service.
public:
cli::array <System::Web::ApplicationServices::ProfilePropertyMetadata ^> ^ GetPropertiesMetadata();
[System.ServiceModel.OperationContract]
public System.Web.ApplicationServices.ProfilePropertyMetadata[] GetPropertiesMetadata ();
[<System.ServiceModel.OperationContract>]
member this.GetPropertiesMetadata : unit -> System.Web.ApplicationServices.ProfilePropertyMetadata[]
Public Function GetPropertiesMetadata () As ProfilePropertyMetadata()
Returns
An array of ProfilePropertyMetadata objects that contain information about the profile properties.
- Attributes
Remarks
Use the GetPropertiesMetadata method to retrieve information about profile properties from a client application that is compatible with the Windows Communication Framework (WCF). You can retrieve information such as the following:
The name and type of the properties.
Whether they are read-only.
Whether they can be accessed by users who have not been authenticated.
The default values for the properties.
After retrieving these values, a client application can take appropriate actions such as not trying to set a read-only property. The current user does not have to be authenticated in order to call the GetPropertiesMetadata method, because the properties apply to all users.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기