This documentation is archived and is not being maintained.

IAuthorizeRemotingConnection.IsConnectingIdentityAuthorized Method

Gets a Boolean value that indicates whether the user identity of the client is authorized to connect on the current channel.

Namespace:  System.Runtime.Remoting.Channels
Assembly:  System.Runtime.Remoting (in System.Runtime.Remoting.dll)

bool IsConnectingIdentityAuthorized(
	IIdentity identity


Type: System.Security.Principal.IIdentity

The IIdentity that represents the user identity of the client.

Return Value

Type: System.Boolean
true if the user identity of the client is authorized; otherwise, false.

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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0