NetTcpSection.AllowAccounts 属性

定义

获取进程的用户帐户,这些进程承载 Windows Communication Foundation (WCF) 服务并被授予了对该共享服务的连接访问权限。

public:
 property System::ServiceModel::Activation::Configuration::SecurityIdentifierElementCollection ^ AllowAccounts { System::ServiceModel::Activation::Configuration::SecurityIdentifierElementCollection ^ get(); };
[System.Configuration.ConfigurationProperty("allowAccounts")]
public System.ServiceModel.Activation.Configuration.SecurityIdentifierElementCollection AllowAccounts { get; }
[<System.Configuration.ConfigurationProperty("allowAccounts")>]
member this.AllowAccounts : System.ServiceModel.Activation.Configuration.SecurityIdentifierElementCollection
Public ReadOnly Property AllowAccounts As SecurityIdentifierElementCollection

属性值

一个 SecurityIdentifierElementCollection ,它包含托管 WCF 服务并被授予对共享服务的连接访问权限的进程用户帐户。 返回的默认值为 LocalSystem、Admin、NS、LS 和 IIS_USRS。

属性

适用于