IAuthorizeRemotingConnection.IsConnectingIdentityAuthorized(IIdentity) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a Boolean value that indicates whether the user identity of the client is authorized to connect on the current channel.
public:
bool IsConnectingIdentityAuthorized(System::Security::Principal::IIdentity ^ identity);
public bool IsConnectingIdentityAuthorized (System.Security.Principal.IIdentity identity);
abstract member IsConnectingIdentityAuthorized : System.Security.Principal.IIdentity -> bool
Public Function IsConnectingIdentityAuthorized (identity As IIdentity) As Boolean
Parameters
Returns
true
if the user identity of the client is authorized; otherwise, false
.
Remarks
An instance of the IAuthorizeRemotingConnection interface is passed to TcpServerChannel(IDictionary, IServerChannelSinkProvider, IAuthorizeRemotingConnection). It provides a single point of authorization for all incoming connections on a TcpServerChannel. It allows for the authorization of the caller before any incoming messages are deserialized to minimize the security threat from untrusted sources.