Ejemplo n.º 1
0
        public XmlApi.getVirtualRoomResponseType searchVirtualRoomsByUserName(string partOfUserName, string memberID)
        {
            XmlApi.getVirtualRoomRequestType request = new icm.XmlApi.getVirtualRoomRequestType();
            request.MemberId = memberID;
            request.Item = partOfUserName;
            request.ItemElementName = icm.XmlApi.ItemChoiceType3.PartOfUserName;

            XmlApi.getVirtualRoomResponseType response = this._Connector.Request(request) as XmlApi.getVirtualRoomResponseType;

            return response;
        }
Ejemplo n.º 2
0
		public XmlApi.getVirtualRoomResponseType GetVirtualRooms( icm.XmlApi.userType userInfo )
		{
			if( userInfo == null )
				throw new ArgumentNullException( "userInfo" );

			XmlApi.getVirtualRoomRequestType	request						= new icm.XmlApi.getVirtualRoomRequestType();
												request.MemberId			= userInfo.MemberId;
												request.Item				= userInfo.LoginID;
                                                request.ItemElementName     = icm.XmlApi.ItemChoiceType3.LoginId;

			XmlApi.getVirtualRoomResponseType	response					= this._Connector.Request( request ) as XmlApi.getVirtualRoomResponseType;
            
			//return response != null ? response.VirtualRoom : null;
            return response;
		}