ProfileService.GetPropertiesForCurrentUser 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
현재 사용자에 대한 지정된 프로필 속성과 값을 검색합니다.
public:
System::Collections::Generic::Dictionary<System::String ^, System::Object ^> ^ GetPropertiesForCurrentUser(System::Collections::Generic::IEnumerable<System::String ^> ^ properties, bool authenticatedUserOnly);
[System.ServiceModel.OperationContract]
public System.Collections.Generic.Dictionary<string,object> GetPropertiesForCurrentUser (System.Collections.Generic.IEnumerable<string> properties, bool authenticatedUserOnly);
[<System.ServiceModel.OperationContract>]
member this.GetPropertiesForCurrentUser : seq<string> * bool -> System.Collections.Generic.Dictionary<string, obj>
Public Function GetPropertiesForCurrentUser (properties As IEnumerable(Of String), authenticatedUserOnly As Boolean) As Dictionary(Of String, Object)
매개 변수
- properties
- IEnumerable<String>
검색할 프로필 속성의 이름을 포함하는 문자열 값의 컬렉션입니다.
- authenticatedUserOnly
- Boolean
인증된 사용자에 대해서만 속성이 반환되는지 여부를 나타내는 값입니다.
반환
프로필 속성 정보와 값입니다.
- 특성
예외
properties
매개 변수 또는 properties
컬렉션 내 항목은 null
입니다.
설명
현재 사용자에 대 한 특정 프로필 속성 값을 가져오려면, 사용 된 GetPropertiesForCurrentUser 검색할 프로필 속성을 지정 하는 방법입니다. GetPropertiesForCurrentUser 메서드가 웹 서비스를 통해 액세스를 위해 구성 된 프로필 속성에 대해서만 값을 반환 합니다. 웹 서비스를 통해 액세스에 대 한 프로필 속성을 설정 하 여 구성 합니다 ReadAccessProperties 속성 또는 WriteAccessProperties 속성을 true
입니다.