home *** CD-ROM | disk | FTP | other *** search
- MISC SERVICES
- =============
-
-
- AccountRestrictions (ObjectName : ObjectNameType; ObjectType : OT_BinderyType;
- VAR AcctRest : AccountRestrictionsType;
- Mode : AcctModes) : WORD;
-
- To allow setting/reading of an object's account restrictions.
- --------------------------------------------------------------------------------
- AutoLogin (ObjectName : ObjectNameType; ObjectType : OT_BinderyType;
- Password : PasswordType; ServerName : ObjectNameType;
- VAR SlotNumber : WORD; VAR LoggedInName : ObjectNameType;
- ForceLogin : BOOLEAN) : WORD;
-
- SlotNumber : Connection ID of the newly attached server.
- LoggedInName : If already logged in contains the logged in objectname.
- ForceLogin : If true then will logout of server then relogin regardless
- if already logged in as another object.
-
- To allow automatic logins from with applications without worrying about
- updating the netware shells.
- --------------------------------------------------------------------------------
- DeleteDriveMapping (Drive : CHAR) : WORD;
-
- Allows you to remove a drive mapping from a workstation's environment.
- --------------------------------------------------------------------------------
- {*} ExpandNetwareDateAndTime (DateTimeInfo : Byte7ArrayType;
- TimeType : TimeTypes) : STRING;
-
- NOT FULLY IMPLEMENTED
- --------------------------------------------------------------------------------
- {*} ExpandNetwareFileDate (DateInfo : LONGINT) : STRING;
-
- NOT FULLY IMPLEMENTED
- --------------------------------------------------------------------------------
- ExpandNetwareFileTime (TimeInfo : LONGINT) : STRING;
-
- Expands a Netware file time into a usable string format.
- --------------------------------------------------------------------------------
- ExpandNetwareLoginDateAndTime (DateInfo : Byte6ArrayType) : string;
-
- Expands a Netware login date and time into a usable string format.
- --------------------------------------------------------------------------------
- FileServerExists (ServerName : ObjectNameType) : BOOLEAN;
-
- Returns true if the file server exists.
- --------------------------------------------------------------------------------
- GetAllFileServersOnInternet;
-
- BEFORE CALLING PLEASE ENSURE THAT FileServersOnInternet HAS BEEN INITIALISED.
-
- When called will scan the default server's bindery for a list of all file
- servers and place them into FileServersOnInternet.
- --------------------------------------------------------------------------------
- GetAllObjects (SearchName : ObjectNameType; ObjectType : OT_BinderyType;
- VAR ObjectList : ObjectListingTypePtr; VAR NoOfObjects : WORD);
-
- Will scan the default server's bindery for a list of all objects which match
- both the searchname and object type and place them in ObjectList. Wildcards
- are allowed.
- --------------------------------------------------------------------------------
- GetAllShellTables;
-
- When called will update all internal Netware tables and pointers.
- --------------------------------------------------------------------------------
- GetDefaultFileServerName : ObjectNameType;
-
- Returns the name of the default file server.
- --------------------------------------------------------------------------------
- GetObjectFullName (ServerName : ObjectNameType;
- VAR ObjectFullName : FullNameType;
- VAR ObjectType : OT_BinderyType) : WORD;
-
- When passed a file server will return the logged in object's full name and
- type.
- --------------------------------------------------------------------------------
- GetObjectName (ServerName : ObjectNameType; VAR ObjectName : ObjectNameType;
- VAR ObjectType : OT_BinderyType) : WORD;
-
- When passed a file server will return the logged in object's name and type.
- --------------------------------------------------------------------------------
- GetStationNumber (ServerName : ObjectNameType) : WORD;
-
- When passed a file server will return the connection number for the object.
- --------------------------------------------------------------------------------
- LogoutAndDetachFromFileServer (ServerName : ObjectNameType;
- ConnectionID : WORD);
-
- When calling use the following :
-
- ServerName = 'EXAMPLE' then ConnectionID = 0 else
- ServerName = '' then ConnectionID = 1 to 8
-
- Will logout and detach a workstation from the specified file server or
- connection ID. As above only one may be specified at a time.
- --------------------------------------------------------------------------------
- MakeSupervisor (ObjectName : ObjectNameType;
- ObjectType : OT_BinderyType) : word;
-
- Make the specified object security equivalent to the Supervisor.
- --------------------------------------------------------------------------------
- MiscMapDrive (Drive : CHAR; PathName : PathNameType;
- ServerName : ObjectNameType;
- var DirectoryHandle : BYTE; DriveType : BYTE;
- MapRoot : BOOLEAN) : WORD;
-
- If passing in a complete path then DirectoryHandle should be 0 else
- pass in directoryhandle and relative path.
-
- When passed a drive, valid pathname, servername and whether a permanent or
- temporary drive will map the drive to the path. Will return the new directory
- handle when finished.
- --------------------------------------------------------------------------------
- NetWareLoaded (VAR LoggedIn : BOOLEAN) : BOOLEAN;
-
- When called will return true if the shell is loaded and LoggedIn will also be
- true if the workstation is logged in.
- --------------------------------------------------------------------------------
- RevokeSupervisor (ObjectName : ObjectNameType;
- ObjectType : OT_BinderyType) : WORD;
-
- Make the specified object NOT security equivalent to the Supervisor.
- --------------------------------------------------------------------------------
- SearchAllObjects (SearchName : ObjectNameType;
- ObjectList : ObjectListingTypePtr;
- NoOfObjects, First, Last : WORD) : WORD;
-
- Will search ObjectList for SearchName and return position.
- --------------------------------------------------------------------------------
- SetNWCaptureFlags (var CaptureFlags : Capture_Flags);
-
- Sets the Netware default values for the Capture_Flags structure.
- --------------------------------------------------------------------------------
- SortAllObjects (VAR ObjectList : ObjectListingTypePtr; NoOfObjects : WORD;
- First, Last : WORD);
-
- Will sort ObjectList into ascending order.
- --------------------------------------------------------------------------------
- Supervisor : BOOLEAN;
-
- Will return true if object is logged in as SUPERVISOR.
- --------------------------------------------------------------------------------
- SupervisorEquivalent : BOOLEAN;
-
- Will return true is object is security equivalent to the SUPERVISOR.
- --------------------------------------------------------------------------------
- UserMemberOfGroup (ObjectName, MemberName : ObjectNameType) : WORD;
-
- When passed ObjectName and MemberName will return Successful if ObjectName is
- a member of MemberName.
- --------------------------------------------------------------------------------