Hyves.Service.Core.HyvesSession.InitializeUserId C# (CSharp) Method

InitializeUserId() public method

Initializes the user associated with this session.
public InitializeUserId ( string userId ) : void
userId string The identifier of the user associated with the session.
return void
		public void InitializeUserId(string userId)
		{
			if (string.IsNullOrEmpty(userId))
			{
				throw new ArgumentException("userId");
			}

      this.userId = userId;
		}