Below are the Key words can use in JSOM Program.
SP.ClientContext.get_current();
get_current()
get_currentUser()
get_serverRelativeUrl()
get_site()
get_web()
get_lists()
get_item('Title')
get_fields()
getByTitle('Announcements')
get_description()
getFolderByServerRelativeUrl(folderUrl) //folderUrl=htt.......
get_content()
get_rootFolder()
get_files()
get_url()
get_id()
get_created()
get_internalName()
get_displayName()
get_siteGroups()
get_hasUniqueRoleAssignments()
getByName(groupName) //var groupName = "Approvers";
get_message()
get_stackTrace()
onSuccess
onFail
.getEnumerator()
new SP.FileCreationInformation()
set_content(new SP.Base64EncodedByteArray());
.executeQueryAsync
User Profile:
/_api/sp.userprofile.peoplemanager/GetMyProperties
new SP.UserProfile.PeopleManager(
getMyProperties()
getPropertiesFor(
getUserProfilePropertiesFor(
get_UserProfileProperties()[
get_displayName()
UserProfilePropertiesForUser(
PeoplePicker:
Taxonomy:
SP.Texonomy.TexonomySession.getTexonomySession(cc)
.get_termStores()