Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Specifies a user account for processes that host WCF services, and are granted connection access to the sharing service.
Schema Hierarchy
<system.serviceModel.activation>
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 |
|---|---|
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
Reference
AllowAccounts
AllowAccounts
SecurityIdentifierElementCollection
SecurityIdentifierElement
© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05