public void UpdateProfile( Identifier userId, UserProfileType profile ) { UpdateProfileRequest request = new UpdateProfileRequest() { UserId = userId, UserProfile = profile }; CallWebService<IUserManagementServicev1_6, UpdateProfileRequest, UpdateProfileResponse>( m_service1_6, request, ( s, q ) => s.UpdateProfile( q ) ); }
public void GetProfileByUser( Identifier userId, out UserProfileType profile, out UserPictureInfo profilePictureInfo) { GetProfileByUserRequest request = new GetProfileByUserRequest() { UserId = userId }; GetProfileByUserResponse response = CallWebService< IUserManagementServicev1_6, GetProfileByUserRequest, GetProfileByUserResponse>( m_service1_6, request, ( s, q ) => s.GetProfileByUser( q ) ); profile = response.UserProfile; profilePictureInfo = response.UserPictureInfo; }