Share via


ProfileService.GetAllPropertiesForCurrentUser(Boolean) メソッド

定義

現在のユーザーのプロファイル サービスで使用可能なすべてのプロファイル プロパティと値を取得します。

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

パラメーター

authenticatedUserOnly
Boolean

認証済みのユーザーの場合にのみプロパティを返すかどうかを示す値。

戻り値

プロファイル プロパティおよび値。

属性

注釈

メソッドを GetAllPropertiesForCurrentUser 使用して、1 つの Web サービス呼び出しを通じてすべてのユーザーのプロファイル プロパティを取得します。 たとえば、このメソッドを呼び出し、プロファイル プロパティをクライアント アプリケーションに格納し、必要に応じて値を取得できます。 メソッドは GetAllPropertiesForCurrentUser 、Web サービス経由でアクセスするように構成されているプロファイル プロパティの値のみを返します。 プロファイル プロパティに Web サービスを介してアクセスできるかどうかを設定するには、 プロパティまたは WriteAccessProperties プロパティを ReadAccessPropertiestrue設定します。

適用対象