[TCSACR-81][csapi-account-manager][Add] Added new property to get account handle 37/150337/3
authorJooseok Song <seogii.song@samsung.com>
Fri, 15 Sep 2017 07:15:23 +0000 (16:15 +0900)
committerEditor Lionbridge <TizenEditor.SEL@lionbridge.com>
Fri, 15 Sep 2017 07:39:34 +0000 (10:39 +0300)
PS3: Reviewed (also removed cell merging from the tables, due to
upcoming Markdown conversion)

Change-Id: Ifa47c8cb09c0899986d8dcbaef8ded0be46e6f84

org.tizen.guides/html/dotnet/account.htm

index 0df5273..13391e8 100644 (file)
@@ -74,7 +74,7 @@
 <div class="note">
 <strong>Note</strong>
 Account providers, such as Google and Facebook, represent specific service provider-related information or protocol that provides the user accounts. To add, update, or remove an accounts, you must register a specific account provider for all your applications belonging to the same package.
-<p>To register an account provider, define the <a href="#provider_prop">account provider information</a> in the Account tab of the manifest editor, and implement the account application control.</p>
+<p>To register an account provider, define the <a href="#provider_prop">account provider information</a> in the <code>Account</code> tab of the manifest editor, and implement the account application control.</p>
 <p>If the application has defined the account provider information and implements the <a href="#appcontrol">appcontrol for the account provider</a>, the account provider is automatically registered when the application is installed.</p>
 </div>
 
@@ -536,93 +536,120 @@ Dictionary&lt;string, string&gt; labels = AccountProvider.GetLabelsByAppId(appId
     <tr>
      <th>Account property</th>
      <th>Data type</th>
-        <th>Mandatory</th>
-        <th>Description</th>
+     <th>Mandatory</th>
+     <th>Description</th>
     </tr>
     <tr>
      <td>User name</td>
-        <td rowspan="7"><code>String</code></td>
-        <td>Yes</td>
+     <td><code>String</code></td>
+     <td>Yes</td>
      <td>Identity of an account.
          <p>If the display name and email ID are not set for an account, the user name is shown for the account on the Accounts screen in the Setting application.</p>
         </td>
     </tr>
     <tr>
      <td>Display name</td>
-        <td rowspan="14">No</td>
+     <td><code>String</code></td>
+     <td>No</td>
      <td>Display name of an account.
-        <p>Display name is shown for the account on the Accounts screen in the Setting application.</p>
+     <p>Display name is shown for the account on the Accounts screen in the Setting application.</p>
      </td>
     </tr>
     <tr>
      <td>Email ID</td>
-        <td>Email ID of an account.
+     <td><code>String</code></td>
+     <td>No</td>
+     <td>Email ID of an account.
          <p>If the display name is not set for an account, the email ID is shown for the account on the Accounts screen in the Setting application.</p>
      </td>
     </tr>
     <tr>
      <td>Package name</td>
-        <td>One of an account package IDs, like the app ID.
+     <td><code>String</code></td>
+     <td>No</td>
+     <td>One of an account package IDs, like the app ID.
          <p>If the package name is not set for an account, the app ID is used as a package name.</p>
      </td>
     </tr>
     <tr>
      <td>Icon path</td>
+     <td><code>String</code></td>
+     <td>No</td>
      <td>Icon path of an account.
          <p>The icon is shown through the registered icon path as an account icon on the Accounts screen in the Setting application.</p>
      </td>
      </tr>
        <tr>
      <td>Domain name</td>
+     <td><code>String</code></td>
+     <td>No</td>
      <td>Domain name of an account.
      </td>
     </tr>
        <tr>
      <td>Access token</td>
+     <td><code>String</code></td>
+     <td>No</td>
      <td>Access token of an account.
      </td>
     </tr>
     <tr>
      <td>Auth type</td>
-        <td><code>Integer</code></td>
+     <td><code>Integer</code></td>
+     <td>No</td>
      <td>Authentication type, such as oauth or xauth.
      </td>
     </tr>
     <tr>
      <td>Capability</td>
-        <td>Key-value <code>string</code>-<code>integer</code> pairs</td>
+     <td>Key-value <code>string</code>-<code>integer</code> pairs</td>
+     <td>No</td>
      <td>Capability of an account.
      </td>
     </tr>
     <tr>
      <td>Secret</td>
-        <td rowspan="2"><code>Integer</code></td>
+     <td><code>Integer</code></td>
+     <td>No</td>
      <td>The secret value is used to decide whether the account is shown on the Accounts screen in the Setting application.
      </td>
     </tr>
     <tr>
      <td>Sync support</td>
+     <td><code>Integer</code></td>
+     <td>No</td>
      <td>Current synchronization status.</td>
     </tr>
     <tr>
      <td>Source</td>
-     <td rowspan="2"><code>String</code></td>
+     <td><code>String</code></td>
+     <td>No</td>
      <td>Source of an account.</td>
     </tr>
     <tr>
      <td>User text</td>
+     <td><code>String</code></td>
+     <td>No</td>
      <td>String array, which you can use freely.</td>
     </tr>
        <tr>
      <td>User int</td>
-        <td><code>Integer</code></td>
+     <td><code>Integer</code></td>
+     <td>No</td>
      <td>Integer array, which you can use freely.</td>
     </tr>
        <tr>
      <td>Custom</td>
-        <td>Key-value <code>string</code> pairs</td>
+     <td>Key-value <code>string</code> pairs</td>
+     <td>No</td>
      <td>Key-value pairs, which you can use freely.</td>
     </tr>
+       <tr>
+     <td>Safe account handle</td>
+     <td><code>SafeAccountHandle</code></td>
+     <td>No</td>
+     <td>Read-only account handle of an account.</td>
+    </tr>
    </tbody>
   </table>
 
@@ -634,44 +661,50 @@ Dictionary&lt;string, string&gt; labels = AccountProvider.GetLabelsByAppId(appId
     <tr>
      <th>Account property</th>
      <th>Data type</th>
-        <th>Mandatory</th>
+     <th>Mandatory</th>
      <th>Description</th>
     </tr>
     <tr>
      <td>Multiple accounts support</td>
      <td><code>bool</code> </td>
-        <td rowspan="4">Yes</td>
+     <td>Yes</td>
      <td>Indicates whether multiple accounts are supported.</td>
     </tr>
     <tr>
      <td>Icon</td>
-     <td rowspan="4"><code>String</code></td>
+     <td><code>String</code></td>
+     <td>Yes</td>
      <td>File path of the account provider icon.
-        <p>The icon size is:</p>
-        <ul>
+     <p>The icon size is:</p>
+     <ul>
                <li>72 x 72 for Xhigh (HD)</li>
                <li>48 x 48 for High (WVGA)</li>
-        </ul>
-        <p>Since the icon is used in <strong>Settings &gt; Accounts</strong>, place the icon in a shared directory.</p>
-        </td>
+     </ul>
+     <p>Since the icon is used in <strong>Settings &gt; Accounts</strong>, place the icon in a shared directory.</p>
+     </td>
     </tr>
     <tr>
      <td>Small icon</td>
+     <td><code>String</code></td>
+     <td>Yes</td>
      <td>File path of the account provider icon.
-        <p>The icon size is:</p>
-        <ul>
+     <p>The icon size is:</p>
+     <ul>
                <li>45 x 45 for Xhigh (HD)</li>
                <li>30 x 30 for High (WVGA)</li>
-        </ul>
-        <p>Since the small icon is used in other applications, place the icon in a shared directory.</p></td>
+     </ul>
+     <p>Since the small icon is used in other applications, place the icon in a shared directory.</p></td>
     </tr>
     <tr>
      <td>Display name</td>
+     <td><code>String</code></td>
+     <td>Yes</td>
      <td>Display name of the account provider.</td>
     </tr>
     <tr>
      <td>Capabilities</td>
-        <td>No</td>
+     <td><code>String</code></td>
+     <td>No</td>
      <td>Capability of the account provider.
          <p>Capability can be a liaison between an account application and another application. If an account application registers a capability in the manifest file, other applications know that the account application has the capability. And if an account application gives an account a capability, other applications know that the account has the capability.</p>
          <p>Several service-specific capabilities are defined for the <a href="https://developer.tizen.org/dev-guide/csapi/classTizen_1_1Account_1_1AccountManager_1_1AccountService.html">Tizen.Account.AccountManager.AccountService</a> class:</p>