Kinect.KinectManager.SetPrimaryUserID C# (CSharp) Method

SetPrimaryUserID() public method

Sets the primary user ID, in order to change the active user.
public SetPrimaryUserID ( Int64 userId ) : bool
userId Int64 User ID
return bool
        public bool SetPrimaryUserID(Int64 userId)
        {
            bool bResult = false;

            if (alUserIds.Contains(userId) || (userId == 0))
            {
                liPrimaryUserId = userId;
                bResult = true;
            }

            return bResult;
        }
KinectManager