★ wanayoo — archive 1999 http://developer.apple.com/samplecode/Sample_Code/Files/AS_Authenticator.htmNouvelle recherche | Portail wanayoo
Technical: Sample Code: Files: AS Authenticator
ADC Membership Technical Business Join ADC Sitemap
Search
Files
ADC Resources
Sample Code

AS Authenticator

download (13.3 KB)

Version:

1.0

Date:

Friday, July 16, 1999

Description:

This code sample answers the question: "How can I ask an AppleShare server to authenticate an account/password pair without mounting a volume?"

It attempts to mount a volume with a name which is known to be invalid. If VolumeMount claims the password didn't work, then it didn't. If VolumeMount claims the volume could not be mounted, then the password was valid.

Requirements: System 7




Samples posted after the release of Mac OS X are designed to be built with Project Builder and Mac OS X, or CodeWarrior 6 unless otherwise noted (Note, CodeWarrior 6 projects can be opened in CodeWarrior 5).

The newest Carbon SDK and Universal Interfaces can be found with Development Kits. All samples (both Mac and Windows) can be uncompressed with StuffIt Expander 5.0 or later.
Gray line
Site Map | Search Tips | Options

Contact Us | Privacy Notice
Copyright © 2001 Apple Computer, Inc. All rights reserved.
1-800-MY-APPLE