michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsISupports.idl" michael@0: michael@0: [scriptable, uuid(6c1034f0-1dd2-11b2-aa14-e6657ed7bb0b)] michael@0: interface nsIUserInfo : nsISupports michael@0: { michael@0: /* these are things the system may know about the current user */ michael@0: michael@0: readonly attribute wstring fullname; michael@0: michael@0: readonly attribute string emailAddress; michael@0: michael@0: /* should this be a wstring? */ michael@0: readonly attribute string username; michael@0: michael@0: readonly attribute string domain; michael@0: }; michael@0: michael@0: %{C++ michael@0: michael@0: // 14c13684-1dd2-11b2-9463-bb10ba742554 michael@0: #define NS_USERINFO_CID \ michael@0: { 0x14c13684, 0x1dd2, 0x11b2, \ michael@0: {0x94, 0x63, 0xbb, 0x10, 0xba, 0x74, 0x25, 0x54}} michael@0: michael@0: #define NS_USERINFO_CONTRACTID "@mozilla.org/userinfo;1" michael@0: michael@0: %}