GetUserLicense Method

The GetUserLicense method returns the names and IDs of licenses enabled for a particular SmartOffice user.

The GetUserLicense method is invoked using the MethodOperation.

Parameters

Name Type
UserID String

Examples

Request XML
<request version='1.0'>
  <header>
    <office>myoffice</office>
    <user>jdoe</user>
    <password>password</password>
  </header>
  <method>
    <GetUserLicense>
      <UserID>User.1.2</UserID>
    </GetUserLicense>
  </method>
</request>

Response XML
<response version="1.0">
  <header>
    <sessionClosed/>
  </header>
  <method>
    <GetUserLicense>
      <User id="User.1.2" _type="obj">
        <Licenses _type="objs">
          <License id="License.1.2.48" _type="obj">
            <Name>extra.fields</Name>
          </License>
          <License id="License.1.2.44" _type="obj">
            <Name>CTMCarrierInterface</Name>
          </License>
          <License id="License.1.2.56" _type="obj">
            <Name>layoutcust.admin</Name>
          </License>
          <License id="License.1.2.22" _type="obj">
            <Name>policy</Name>
          </License>
          <License id="License.1.2.23" _type="obj">
            <Name>event.managment</Name>
          </License>
          <License id="License.1.2.26" _type="obj">
            <Name>agency.manager</Name>
          </License>
          <License id="License.1.2.16000" _type="obj">
            <Name>Named.User</Name>
          </License>
        </Licenses>
      </User>
    </GetUserLicense>
  </method>
  <_status>OK</_status>
  <_systime>2015-06-12T17:48:55</_systime>
  <!--Cost 145 mill seconds.-->
</response>

-- DinosLambropoulos - 12 Jun 2015
Topic revision: 12 Jun 2015, DinosLambropoulos
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback