Share via


ProfileService.SetPropertiesForCurrentUser 메서드

정의

사용자 프로필에서 지정된 속성의 값을 설정합니다.

public:
 System::Collections::ObjectModel::Collection<System::String ^> ^ SetPropertiesForCurrentUser(System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ values, bool authenticatedUserOnly);
[System.ServiceModel.OperationContract]
public System.Collections.ObjectModel.Collection<string> SetPropertiesForCurrentUser (System.Collections.Generic.IDictionary<string,object> values, bool authenticatedUserOnly);
[<System.ServiceModel.OperationContract>]
member this.SetPropertiesForCurrentUser : System.Collections.Generic.IDictionary<string, obj> * bool -> System.Collections.ObjectModel.Collection<string>
Public Function SetPropertiesForCurrentUser (values As IDictionary(Of String, Object), authenticatedUserOnly As Boolean) As Collection(Of String)

매개 변수

values
IDictionary<String,Object>

설정할 프로필 속성의 이름과 값을 포함하는 컬렉션입니다.

authenticatedUserOnly
Boolean

인증된 사용자에 대해서만 속성이 설정되는지 여부를 나타내는 값입니다.

반환

Collection<String>

사용자 프로필에 대해 설정되지 않은 속성입니다(있을 경우).

특성

설명

사용 된 SetPropertiesForCurrentUser Windows Communication Foundation (WCF)를 사용 하 여 호환 되는 애플리케이션에서 사용자의 프로필 속성을 설정 하는 방법입니다. SetPropertiesForCurrentUser 메서드 다음 이유 중 하나로 될 수 있는 설정 되지 않은 값을 반환 합니다.

  • 지정된 된 프로필 속성 읽기 전용 (합니다 WriteAccessProperties 지정된 된 프로필 속성에 대 한 속성이 설정 되지 true).

  • 사용자 프로필 이름이 일치 하는 프로필 속성이 없습니다.

  • 값의 유효성을 검사 하지 못했습니다.

적용 대상