• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Using an Object

Now that Table 12.1 showed how to connect to an object, you have to actually use it. This is done by making use of the CFSET tag. Using this tag, you set a variable to the return value of one of the object's operations. Use CFOBJECT in Listing 12.1, which connects to the object called NTAccess.Groups and allows you to view and manipulate user and group information on a Windows NT server. This example returns the full name of a user (#username#) on a server named HOME. The object used can be found at this link: http://www.zaks.demon.co.uk/code/.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint