WCF サービスをホストし、共有サービスへの接続アクセスが付与されているプロセスのユーザー アカウントを指定します。
スキーマの階層
<system.serviceModel.activation>
構文
<allowAccounts>
<add securityIdentifier="String"/>
</allowAccounts>
属性と要素
以降のセクションでは、属性、子要素、および親要素について説明します。
属性
属性 | 説明 |
---|---|
securityIdentifier |
ユーザー アカウントの識別に使用される一意の識別子を指定する文字列。既定値は LocalSystem、Administrators、NS、LS、および IIS_USRS です。 |
子要素
なし。
親要素
要素 | 説明 |
---|---|
WCF をホストするプロセスのユーザー アカウントを指定する securityIdentifier 属性が含まれており、共有サービスへの接続アクセス権が付与される構成要素のコレクションです。 |
例
次の構成例は、このコレクションにユーザー アカウントの 5 つの既定の識別子を追加します。
<allowAccounts>
// LocalSystem account
<add securityIdentifier="S-1-5-18"/>
// LocalService account
<add securityIdentifier="S-1-5-19"/>
// Administrators account
<add securityIdentifier="S-1-5-20"/>
// Network Service account
<add securityIdentifier="S-1-5-32-544" />
// IIS_IUSRS account (Vista only)
<add securityIdentifier="S-1-5-32-568"/>
</allowAccounts>
参照
リファレンス
AllowAccounts
AllowAccounts
SecurityIdentifierElementCollection
SecurityIdentifierElement