Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

DriveToUNCPathMBS(Driver as string) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Windows MBS Win Plugin 13.2 No Yes No Yes, Windows only No
Function: Queries the system tables for which UNC network path belongs to a mapped drive.
Example:
msgbox DriveToUNCPathMBS("W:")
Notes:
Please pass the local drive name, which is drive letter and double colon.
Returns empty string on any error.

Feedback, Comments & Corrections

GetFullWindowsNameMBS(UserName as string, Domain as string) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Windows MBS Win Plugin 8.5 No Yes No Yes, Windows only No
Function: Queries the full username of an user in a domain.
Example:
dim ShortName as string = "your short name"
dim Domain as string = "your domain"

MsgBox GetFullWindowsNameMBS(ShortName, Domain)
Notes:
Returns an empty string on any error.

Use a current Windows NT-style domain, and a username that exists on the PDC.

This will work with any NT-Style PDC (tested on XP bound to Mac OS X Server running SMB as PDC). Windows 2000/2003 and 2008 should also work.

Some examples using this method:

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Win Plugin.




Links
MBS FileMaker Plugins