click on title above
|
-----Original Message-----
From: [EMAIL PROTECTED]
[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, July 26, 2005 6:32 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] UniVerse login name on Windows
Is there a way to force UniVerse to report only the user name portion
without the domain prefix on Windows? e.g. @Logname = administrator not
MYMACHINE\administrator?
I seem to remember there was one, but I can't remember how.
--------------------------------------------------------------------------
Brian, try this registry change.
To use short usernames at login, change the registry by adding a
UseShortUserNames key described below. This will remove the computer
name in front of the UserName, for example, a WHO might look like this
<Computername>\Username
With this change the WHO would output only Username
1. Start/Run/regedit
2. HKEY_LOCAL_MACHINE
a. Software/UniVerse/CurrentVersion
3. Add a new DWORD Value, rt. click New/DWORD Value
4. Enter
a. UseShortUserNames
b. Value=1
c. Base=Hexadecimal
Paul H.
Brian
Download
port-status command alternative...
|
Parsing an XML document using X-Path
Using the uniVerse XDOM set of functions:
universe XML DOM functions
- XDOMOpen
- XDOMCreateNode
- XDOMCreateRoot
- XDOMWrite
-
XDOMClose
- XDOMValidate
- XDOMLocate
- XDOMLocateNode
- XDOMRemove
-
XDOMAppend
- XDOMInsert
- XDOMReplace
- XDOMAddChild
- XDOMClone
-
XDOMTransform
- XDOMGetNodeValue
- XDOMGetNodeType
- XDOMGetAttribute
-
XDOMGetOwnerDocument
- XDOMGetUserData
- XDOMSetNodeValue
- XDOMSetUserData
-
XMLGetError
|
| |
Syntax
STAT=XDOMOpen(xmlDocument, docLocation, domHandle)
Description
The XDOMOpen function reads an xmlDocument and creates DOM structure.
If the DTD is included in the document, UniVerse validates the document.
The xmlDocument can be from a string or from a file, depending on the docLocation
flag.
|
Parameter |
Description |
xmlDocument
[IN] |
The XML document. |
docLocation
[IN] |
A flag to specify whether xmlDocument is a string holding the XML document,
or it is a file containing the XML document. Valid values are:
- XML.FROM.FILE
-
Indicate xmlDocument is a file path, document pulled from file
- XML.FROM.STRING
-
Indicates xmlDocument is the actual XML document
|
domHandle
[OUT] |
Handle to the opened DOM Structure.
|
STAT
[OUT] |
- XML.SUCCESS
- zero - operation successful
- XML.ERROR
- one - an error occurred
- XML.INVALID.HANDLE
- Invalid DOM handle referenced
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|