func (profiles *Profiles) GetMyProperties() (ProfilePropsResp, error) {
	client := NewHTTPClient(profiles.client)
	apiURL, _ := url.Parse(profiles.endpoint + "/GetMyProperties")
	query := apiURL.Query()
	for k, v := range profiles.modifiers.Get() {
		query.Set(k, TrimMultiline(v))
	}
	apiURL.RawQuery = query.Encode()
	return client.Post(apiURL.String(), nil, profiles.config)
}
GetMyProperties gets current context user profile properties
package api
import (
	"bytes"
	"encoding/json"
	"net/url"
	"github.com/koltyakov/gosip"
)
type Profiles struct {
	client    *gosip.SPClient
	config    *RequestConfig
	endpoint  string
	modifiers *ODataMods
}
type ProfileInfo struct {
	AccountName                     string `json:"AccountName"`
	DisplayName                     string `json:"DisplayName"`
	FollowPersonalSiteURL           string `json:"FollowPersonalSiteUrl"`
	IsDefaultDocumentLibraryBlocked bool   `json:"IsDefaultDocumentLibraryBlocked"`
	IsPeopleListPublic              bool   `json:"IsPeopleListPublic"`
	IsPrivacySettingOn              bool   `json:"IsPrivacySettingOn"`
	IsSelf                          bool   `json:"IsSelf"`
	JobTitle                        string `json:"JobTitle"`
	MySiteFirstRunExperience        int    `json:"MySiteFirstRunExperience"`
	MySiteHostURL                   string `json:"MySiteHostUrl"`
	O15FirstRunExperience           int    `json:"O15FirstRunExperience"`
	PersonalSiteCapabilities        int    `json:"PersonalSiteCapabilities"`
	PersonalSiteFirstCreationError  string `json:"PersonalSiteFirstCreationError"`
	PersonalSiteFirstCreationTime   string `json:"PersonalSiteFirstCreationTime"`
	PersonalSiteInstantiationState  int    `json:"PersonalSiteInstantiationState"`
	PersonalSiteLastCreationTime    string `json:"PersonalSiteLastCreationTime"`
	PersonalSiteNumberOfRetries     int    `json:"PersonalSiteNumberOfRetries"`
	PictureImportEnabled            bool   `json:"PictureImportEnabled"`
	PictureURL                      string `json:"PictureUrl"`
	PublicURL                       string `json:"PublicUrl"`
	SipAddress                      string `json:"SipAddress"`
	URLToCreatePersonalSite         string `json:"UrlToCreatePersonalSite"`
}
type ProfilePropsInto struct {
	AccountName           string           `json:"AccountName"`
	DirectReports         []string         `json:"DirectReports"`
	DisplayName           string           `json:"DisplayName"`
	Email                 string           `json:"Email"`
	ExtendedManagers      []string         `json:"ExtendedManagers"`
	ExtendedReports       []string         `json:"ExtendedReports"`
	Peers                 []string         `json:"Peers"`
	IsFollowed            bool             `json:"IsFollowed"`
	PersonalSiteHostURL   string           `json:"PersonalSiteHostUrl"`
	PersonalURL           string           `json:"PersonalUrl"`
	PictureURL            string           `json:"PictureUrl"`
	Title                 string           `json:"Title"`
	UserURL               string           `json:"UserUrl"`
	UserProfileProperties []*TypedKeyValue `json:"UserProfileProperties"`
}
type ProfileResp []byte
type ProfilePropsResp []byte
func NewProfiles(client *gosip.SPClient, endpoint string, config *RequestConfig) *Profiles {
	return &Profiles{
		client:    client,
		endpoint:  endpoint,
		config:    config,
		modifiers: NewODataMods(),
	}
}