ISocialNetwork CreateSocialUserInfo Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Create an instance of social user info class. If parameters are null then creates new non-logged-in instance, otherwise, if parameters are set, then connects to network and tries to re-initializes SocialUser info with fresh data from the network (i.e. name, gender etc.) using the supplied net tokens, or throws if tokens are invalid (i.e. expired). This returned instance is usually stored in session for later use

Namespace: NFX.Web.Social
Assembly: NFX.Web (in NFX.Web.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

SocialUserInfo CreateSocialUserInfo(
	Nullable<SocialUserInfoToken> existingToken = null
)

Parameters

existingToken (Optional)
Type: OnlineSystem Nullable SocialUserInfoToken 

Return Value

Type: SocialUserInfo
SocialUserInfo instance
See Also