SPChannelFactoryOperations.CreateChannelActingAsLoggedOnUser method

CreateChannelAsLoggedOnUser creates a WCF channel, using an 'act as' token. The 'act as' token represents process identity (actor) and user identity. This token delegates the user’s identity to the back end server. Delegation is an expensive operation. If performance is an issue and you don't need the delegated user’s identity, use CreateChannelAsProcess. Authentication occurs as a process identity, user identity is not available to back end process. If that's an acceptable behavior you may see a significant performance gain.

Overload list

  Name Description
Public methodStatic member CreateChannelActingAsLoggedOnUser<TChannel>(ChannelFactory<TChannel>) CreateChannelAsLoggedOnUser creates a WCF channel, using an 'act as' token. The 'act as' token represents process identity (actor) and user identity. This token delegates the user’s identity to the back end server. Delegation is an expensive operation.
Public methodStatic member CreateChannelActingAsLoggedOnUser<TChannel>(ChannelFactory<TChannel>, EndpointAddress) CreateChannelAsLoggedOnUser creates a WCF channel, using an 'act as' token. The 'act as' token represents process identity (actor) and user identity. This token delegates the user’s identity to the back end server. Delegation is an expensive operation.
Public methodStatic member CreateChannelActingAsLoggedOnUser<TChannel>(ChannelFactory<TChannel>, EndpointAddress, Uri) CreateChannelAsLoggedOnUser creates a WCF channel, using an 'act as' token. The 'act as' token represents process identity (actor) and user identity. This token delegates the user’s identity to the back end server. Delegation is an expensive operation.

Top

See also

Reference

SPChannelFactoryOperations class

SPChannelFactoryOperations members

Microsoft.SharePoint namespace