Intranet/Hosting Toolkit [table of contents]
[CFX_Groups]
v2.6 November 30th 2001
CFX_Groups
OPEN-SOURCE
NT DLL for Cold Fusion 4.0.1 and up
Lewis A. Sellers
http://www.intrafoundation.com/ihtk.html
ihtk@intrafoundation.com

FOREWORD

This is an Allaire Cold Fusion Extension Tag (CFX). It is for use with Allaire Cold Fusion Servers 4.0.1 (and up) running on Microsoft NT. It was written by Lewis A. Sellers of Intrafoundation Software.

CFX_Groups provides a functionality similar to NT's administrative tool "User Manager for Domains": With it you can create, delete, modify or copy any NT user account You also have control over the local and domain groups which the user may be a member of.

There are also additional "support" functions available which include, among other things, browsing the list of currently logged in users, listing domain controllers and servers, etc.

Please read the version history for current tag status before emailing questions.

C O N T E N T S

Foreword

General
Groups
Members

Version History

top

G E N E R A L

ABOUT

<CFX_Groups ACTION="ABOUT">

The tag itself returns a couple variables back no matter what you do (GroupsDescription, GroupsVersion and GroupsError). These are always available unless there is a catastrophic failure of the tag.

Additionally you can use the ABOUT function to return more detailed information on the tag. The fields returned are mostly only of interest for curiosity or in debugging a situation.

Note below that though the tag returns it's SerialNumber, it's not used currently, and hasn't been for a very long time, but probably will be again soon.

For the curious, it also proves the total number of lines of c/c++ that the current build was using. This includes the scant comments in the source code. For instance, this build of the tag has 2186 lines of code.

Description
The general product description.
Version
The version number of the software, ie 2.0.
Quality

The quality field will be one of the following four: "Alpha", "Beta", "Gamma" or "Omega". Quality relates the quality control status of the version of the tag you're currently using.

Alpha code is highly unstable and shouldn't be trusted for anything. Do not use on production machines.

Beta code is close to being finish and it is in a debugging phase. Do not use on production machines.

Gamma code is for use on production machines. As far as the beta testers have determined it works as it should.

When a product goes Omega that generally means it is long used Gamma code that is now no longer being maintained.

SubVersion
The subversion number of the software, ie 4 for "2.0beta4".
SerialNumber
Currently unused.
Lines
The total lines of c/c++ code in the software.
BuildDate
The ODBC DATETIME when the tag was last compiled (built).
Evaluation
Boolean field (0 or 1). 1 indicates the version of the tag you're using is a time-limited evaluation version. 0 is full commercial.
ExpirationDate
The ODBC DATETIME date when the tag will stop working.



top

G R O U P S

There are (as of Windows 2000) three group types:

Universal is specific to either W2K or NT4 with ADSI installed. It is of limited use, though currently supported, in part, through this tag. Mainly you'll be interested in the Global and Local group types, or, as Windows and these tags call it, group scopes.

Additionally, there are two "types" for these groups:

Security is the default. It was in fact the only type of domain group under NT4 and previous. It allows NT security to be enforced on all it's members.

Distribution is a Windows 2000 addition that is simplier in that it does not have security checks made against it. This makes it faster and more efficient to use for simple groupings of persons for, say, contact lists, etc. They are otherwise useless and should be avoided.




GROUPS

<CFX_Groups ACTION="GROUPS">

FIELDS
Domainstring
Computerstring
Groupstring
Descriptionstring
OPTIONAL
Domainstring
Querystring
Typestring
REQUIRED
ActionGROUPS
Scopestring

Lists all groups. Scope can be "Local", "Global" or "Universal". Type can be "Security" or "Distribution". If type is not specified, "Security" is assumed.





ADD

<CFX_Groups ACTION="Add">

OPTIONAL
Domainstring
Computerstring
Typestring
REQUIRED
ActionADD
Scopestring
Groupstring

Adds a group to the specified scope. Scope can be "Local", "Global" or "Universal".





DELETE

<CFX_Groups ACTION="Delete">

OPTIONAL
Domainstring
Computerstring
Typestring
REQUIRED
ActionDELETE
Scopestring
Groupstring

Deletes a group from the specified scope. Scope can be "Local", "Global" or "Universal".





top

M E M B E R S




MEMBERS

<CFX_Groups ACTION="Members">

FIELDS
Memberstring
OPTIONAL
Domainstring
Computerstring
Querystring
Typestring
REQUIRED
ActionADD
Scopestring
Groupstring

Lists all members in a group. Scope can be "Local", "Global" or "Universal".





ADDMEMBER

<CFX_Groups ACTION="AddMember">

OPTIONAL
Domainstring
Computerstring
Typestring
REQUIRED
ActionADDMEMBER
Scopestring
Groupstring
Userstring

Adds a member to group. Scope can be "Local", "Global" or "Universal".





REMOVEMEMBER

<CFX_Groups ACTION="RemoveMember">

OPTIONAL
Domainstring
Computerstring
Typestring
REQUIRED
ActionREMOVEMEMBER
Groupstring
Scopestring
Userstring

Removes a member from group. Scope can be "Local", "Global" or "Universal".





top

VERSION HISTORY

[A hungry coyote. Hopefully not part of a local group.]





top
f i n i
-{ts '2001-12-03 03:35:33'} /ihtkdocs/Groups/index.cfm-