<add> of <allowAccounts>
Specifies a user account for processes that host WCF services, and are granted connection access to the sharing service.
<configuration>
<system.serviceModel.activation>
<net.pipe>
<allowAccounts>
<add>
Syntax
<allowAccounts>
<add securityIdentifier="String" />
</allowAccounts>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Description |
---|---|
securityIdentifier | A string that specifies a unique identifier used to identify a user account. The default values are LocalSystem, Administrators, NS, LS, and IIS_USRS. |
Child Elements
None.
Parent Elements
Element | Description |
---|---|
<allowAccounts> | A collection of configuration elements that contain a securityIdentifier attribute to specify user accounts for processes that host WCF services, and are granted connection access to the sharing service. |
Example
The following configuration example adds the five default identifiers for user accounts to this collection.
<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>
See also
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.