コンストラクタの概要

LicenseManager (String groupId) 非推奨
コンストラクタ。
代替メソッドはありません。

メソッドの概要

返却値の型 メソッド名
Boolean deleteAccountLicense (String userId) 非推奨
指定されたユーザのライセンスを削除する。
UserLicense#deleteAccountLicense(String) を使用してください。
Boolean deleteApplicationLicenseFromAccount (String userId, String applicationId) 非推奨
アプリケーションライセンスをアカウントから削除する。
UserLicense#deleteApplicationLicense(String,String) を使用してください。
Number getApplicationLicense (String applicaionId) static非推奨
アプリケーションの登録ユーザ数を取得します。
UserLicense#getApplicationLicense(String) を使用してください。
ApplicationInfo getApplication (String applicaionId) static非推奨
アプリケーション情報を取得します。
LicenseRegister#getApplications(), LicenseRegister#getExtensions()(), LicenseRegister#getLanguagePacks() を使用してください。
Array getApplications () static非推奨
アプリケーション情報の一覧を取得する。
LicenseRegister#getApplications(), LicenseRegister#getExtensions()(), LicenseRegister#getLanguagePacks() を使用してください。
Number getLicense () 非推奨
グループ内で登録されているライセンス数を取得する。
代替メソッドはありません。
Number getLoginGroupApplicationLicense (Number applicationId) 非推奨
グループ内で登録されているアプリケーションライセンス数を取得する。
代替メソッドはありません。
Number getLoginGroupMaxApplicationLicense (Number applicationId) 非推奨
ログイングループ内の最大登録可能アプリケーションライセンス数を取得します。
代替メソッドはありません。
Number getMaxLicense () 非推奨
ログイングループ内の最大登録可能ライセンス数を取得します。
代替メソッドはありません。
ApplicationInfo getProduct () static非推奨
システム情報を取得します。
LicenseRegister#getPlatform() を使用してください。
Array getRegisteredAccountLicenses () 非推奨
ログイングループにライセンス登録されているすべてのユーザIDを返します。
UserLicense#searchAccountLicenseCount(String) を使用してください。
Array getRegisteredApplicationLicensesToAccount (String userId) 非推奨
アカウントに登録されているアプリケーションライセンスの一覧を取得する。
UserLicense#getUserApplicationLicenses(String) を使用してください。
Number getSystemLicense () static非推奨
システム全体の登録ライセンス数。
UserLicense#getAccountLicense() を使用してください。
Number getSystemMaxLicense () static非推奨
システム全体のライセンス数。
UserLicense#getMaxAccountLicense() を使用してください。
Boolean isRegisteredAccountLicense (String userId) 非推奨
指定されたユーザがライセンスに登録されているかどうかをチェックします。
UserLicense#isRegisteredAccountLicense(String) を使用してください。
Boolean isRegisteredApplicationLicenseToAccount (String userId, String applicationId) 非推奨
アカウントにアプリケーションライセンスが登録されてるか検証する。
UserLicense#isRegisteredApplicationLicense(String,String) を使用してください。
Boolean registerAccountLicense (String userId) 非推奨
ライセンス登録する。
UserLicense#registerAccountLicense(String) を使用してください。
Boolean registerApplicationLicenseToAccount (String userId, String applicationId) 非推奨
アプリケーションライセンスをアカウントに登録する。
UserLicense#registerApplicationLicense(String,String) を使用してください。
Boolean setLoginGroupMaxApplicationLicense (Number applicationId, Number maxLicense) 非推奨
ログイングループ内の最大登録可能アプリケーションライセンス数を設定します。
代替メソッドはありません。
Boolean setMaxLicense (Number maxLicense) 非推奨
ログイングループ内の最大登録可能ライセンス数を設定します。
代替メソッドはありません。

コンストラクタの詳細

LicenseManager (String groupId) 非推奨
代替メソッドはありません。
コンストラクタ。

パラメータ
groupId : String
ログイングループID

メソッドの詳細

Boolean deleteAccountLicense (String userId) 非推奨
UserLicense#deleteAccountLicense(String) を使用してください。
指定されたユーザのライセンスを削除する。

パラメータ
userId : String
ユーザID
返却値
Boolean
boolean true:処理成功 / false:処理失敗(ログを参照してください)
Boolean deleteApplicationLicenseFromAccount (String userId, String applicationId) 非推奨
UserLicense#deleteApplicationLicense(String,String) を使用してください。
アプリケーションライセンスをアカウントから削除する。

パラメータ
userId : String
ユーザID
applicationId : String
アプリケーションID
返却値
Boolean
boolean true:処理成功 / false:処理失敗(ログを参照してください)
Number getApplicationLicense (String applicaionId) static 非推奨
UserLicense#getApplicationLicense(String) を使用してください。
アプリケーションの登録ユーザ数を取得します。

引数に指定されたアプリケーションIDを持つユーザの数を取得します。

パラメータ
applicaionId : String
アプリケーションID
返却値
Number
Number アプリケーションIDを持つユーザの数
指定したアプリケーションが存在しない場合は0
ApplicationInfo getApplication (String applicaionId) static 非推奨
LicenseRegister#getApplications(), LicenseRegister#getExtensions()(), LicenseRegister#getLanguagePacks() を使用してください。
アプリケーション情報を取得します。

引数に指定されたアプリケーションの情報を取得します。

パラメータ
applicaionId : String
アプリケーションID
返却値
ApplicationInfo
ApplicationInfo アプリケーション情報
指定したアプリケーションが存在しない場合はnull
Array getApplications () static 非推奨
LicenseRegister#getApplications(), LicenseRegister#getExtensions()(), LicenseRegister#getLanguagePacks() を使用してください。
アプリケーション情報の一覧を取得する。

取得に失敗した場合は、nullを返却します。
返却値
Array
Array ApplicationInfo#の配列
Number getLicense () 非推奨
代替メソッドはありません。
グループ内で登録されているライセンス数を取得する。

取得に失敗した場合は、-1を返却します。
返却値
Number
Number 登録ライセンス数
Number getLoginGroupApplicationLicense (Number applicationId) 非推奨
代替メソッドはありません。
グループ内で登録されているアプリケーションライセンス数を取得する。

取得に失敗した場合は、-1を返却します。
パラメータ
applicationId : Number
アプリケーションID
返却値
Number
Number 登録アプリケーションライセンス数
Number getLoginGroupMaxApplicationLicense (Number applicationId) 非推奨
代替メソッドはありません。
ログイングループ内の最大登録可能アプリケーションライセンス数を取得します。

無制限の場合は Number.POSITIVE_INFINITY を返します。
取得に失敗した場合は、-1を返却します。

パラメータ
applicationId : Number
アプリケーションID
返却値
Number
Number 最大登録可能アプリケーションライセンス数
Number getMaxLicense () 非推奨
代替メソッドはありません。
ログイングループ内の最大登録可能ライセンス数を取得します。

無制限の場合は Number.POSITIVE_INFINITY を返します。
取得に失敗した場合は、-1を返却します。

返却値
Number
Number 最大登録可能ライセンス数
ApplicationInfo getProduct () static 非推奨
LicenseRegister#getPlatform() を使用してください。
システム情報を取得します。

返却値
ApplicationInfo
ApplicationInfo システム情報
システム情報の取得に失敗した場合はnull
Array getRegisteredAccountLicenses () 非推奨
UserLicense#searchAccountLicenseCount(String) を使用してください。
ログイングループにライセンス登録されているすべてのユーザIDを返します。

返却値
Array
Array ユーザIDの配列
Array getRegisteredApplicationLicensesToAccount (String userId) 非推奨
UserLicense#getUserApplicationLicenses(String) を使用してください。
アカウントに登録されているアプリケーションライセンスの一覧を取得する。


取得に失敗した場合は、nullを返却します。
パラメータ
userId : String
ユーザID
返却値
Array
Array アカウントに登録されているアプリケーションライセンス(ID)の配列
Number getSystemLicense () static 非推奨
UserLicense#getAccountLicense() を使用してください。
システム全体の登録ライセンス数。

取得に失敗した場合は、-1を返却します。
返却値
Number
Number システム全体の登録ライセンス数
Number getSystemMaxLicense () static 非推奨
UserLicense#getMaxAccountLicense() を使用してください。
システム全体のライセンス数。

無制限の場合は Number.POSITIVE_INFINITY を返します。

取得に失敗した場合は、-1を返却します。

返却値
Number
Number システム全体のライセンス数
Boolean isRegisteredAccountLicense (String userId) 非推奨
UserLicense#isRegisteredAccountLicense(String) を使用してください。
指定されたユーザがライセンスに登録されているかどうかをチェックします。

パラメータ
userId : String
ユーザID
返却値
Boolean
Boolean true : 登録されている / false : 登録されていない
Boolean isRegisteredApplicationLicenseToAccount (String userId, String applicationId) 非推奨
UserLicense#isRegisteredApplicationLicense(String,String) を使用してください。
アカウントにアプリケーションライセンスが登録されてるか検証する。

パラメータ
userId : String
ユーザID
applicationId : String
アプリケーションID
返却値
Boolean
Boolean true : 登録されている / false : 登録されていない
Boolean registerAccountLicense (String userId) 非推奨
UserLicense#registerAccountLicense(String) を使用してください。
ライセンス登録する。

指定されたユーザIDとコンストラクタで指定したログイングループIDでライセンス登録をします。
最大登録可能ライセンス数とログイングループ内最大登録可能ライセンス数を調査して
これを超えた場合はエラーとする。

パラメータ
userId : String
ユーザID
返却値
Boolean
Boolean true:成功 / false:失敗
Boolean registerApplicationLicenseToAccount (String userId, String applicationId) 非推奨
UserLicense#registerApplicationLicense(String,String) を使用してください。
アプリケーションライセンスをアカウントに登録する。

すでに登録されているアプリケーション最大登録可能ライセンス数と合わせて
最大登録可能ライセンス数を超えた場合はエラーとする。

パラメータ
userId : String
ユーザID
applicationId : String
アプリケーションID
返却値
Boolean
Boolean true:成功 / false:失敗
Boolean setLoginGroupMaxApplicationLicense (Number applicationId, Number maxLicense) 非推奨
代替メソッドはありません。
ログイングループ内の最大登録可能アプリケーションライセンス数を設定します。

8.0.7より、このAPIは利用できなくなりました。
必ず falseが返却されます。
パラメータ
applicationId : Number
アプリケーションID
maxLicense : Number
最大登録可能アプリケーションライセンス数
返却値
Boolean
Boolean true:成功 / false:失敗
Boolean setMaxLicense (Number maxLicense) 非推奨
代替メソッドはありません。
ログイングループ内の最大登録可能ライセンス数を設定します。

8.0.7より、このAPIは利用できなくなりました。
必ず falseが返却されます。
パラメータ
maxLicense : Number
最大登録可能ライセンス数
返却値
Boolean
Boolean true:成功 / false:失敗