{"id":1658,"date":"2018-12-19T11:59:14","date_gmt":"2018-12-19T10:59:14","guid":{"rendered":"https:\/\/help.cirrus-shield.com\/docs\/developer-guide\/javascript-library\/get-organization-info\/"},"modified":"2024-12-20T14:57:50","modified_gmt":"2024-12-20T13:57:50","slug":"get-organization-info","status":"publish","type":"docs","link":"https:\/\/help.cirrus-shield.com\/en\/docs\/developer-guide\/javascript-library\/get-organization-info\/","title":{"rendered":"Get Organization Info"},"content":{"rendered":"<section class=\"fw-main-row \">\n<div class=\"fw-container\">\n<div class=\"fw-row\">\n<div class=\"fw-col-xs-12\">\n<p>This function is used to get the Organization info (Id and time zone) of the logged in user.<\/p>\n<ul>\n<li><strong><u>Function<\/u><\/strong><u>:<\/u> GetOrganizationInfo(<\/li>\n<li><span style=\"text-decoration: underline;\"><strong>Optional Parameter:<\/strong><\/span> useLocaleFormatting [bool]: allows returning fields of type Date\/DateTime\/Number\/Currency\/Percent in the user&#8217;s locale format.<\/li>\n<li><strong><u>Usage<\/u><\/strong><u>: <\/u><span style=\"color: #0000ff;\">var<\/span> objOrg = GetOrganizationInfo();<\/li>\n<li><strong><u>Output<\/u><\/strong><u>:<\/u>\n<ul>\n<li>DefaultTimeZoneSidKey: &#8220;Europe_Paris&#8221;<\/li>\n<li>Id: &#8220;<span style=\"color: #993300;\">1792087569727490719<\/span>&#8220;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<p><!-- c285e23886f4667e0ad1e232838f93e8 --><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":945,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"<section class=\"fw-main-row \">\n\t<div class=\"fw-container\">\n\t\t<div class=\"fw-row\">\n\t<div class=\"fw-col-xs-12\">\n\t<p>This function is used to get the Organization info (Id and time zone) of the logged in user.<\/p><ul><li><strong><u>Function<\/u><\/strong><u>:<\/u> GetOrganizationInfo()<\/li><li><strong><u>Usage<\/u><\/strong><u>: <\/u><span style=\"color: #0000ff\">var<\/span> objOrg = GetOrganizationInfo();<\/li><li><strong><u>Output<\/u><\/strong><u>:<\/u><ul><li>DefaultTimeZoneSidKey: \"Europe_Paris\"<\/li><li>Id: \"<span style=\"color: #993300\">1792087569727490719<\/span>\"<\/li><\/ul><\/li><\/ul><\/div>\n<\/div>\n\n\t<\/div>\n<\/section>\n\n\n<!-- c285e23886f4667e0ad1e232838f93e8 -->","_et_gb_content_width":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_tag":[],"class_list":["post-1658","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/comments?post=1658"}],"version-history":[{"count":4,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1658\/revisions"}],"predecessor-version":[{"id":11178,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1658\/revisions\/11178"}],"up":[{"embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/945"}],"next":[{"title":"Get Current User Info","link":"https:\/\/help.cirrus-shield.com\/en\/docs\/developer-guide\/javascript-library\/get-current-user-info\/","href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/3528"}],"prev":[{"title":"Get Logged In User Guid","link":"https:\/\/help.cirrus-shield.com\/en\/docs\/developer-guide\/javascript-library\/get-logged-in-user-guide\/","href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1549"}],"wp:attachment":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/media?parent=1658"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/doc_tag?post=1658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}