Share via


<add> of <allowAccounts>

Specifies a user account for processes that host WCF services, and are granted connection access to the sharing service.

<system.serviceModel.activation>

                                    
                                    <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>

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.