JCL Help:ParseAccountName

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Split up a qualified account name.


Pascal

 procedure ParseAccountName(const QualifiedName: string; out Domain: string; out UserName: string);


Parameters

Parameters Description
const QualifiedName: string The qualified name to split up.
out Domain: string Returns the name of the domain specified in the qualified name.
out UserName: string Returns the name of the user specified in the qualified name.


Description

ParseAccountName splits up a qualified account name (like DOMAIN-JEDIPeterF) into it's two parts domain and user name.


About

Unit

JclLANMan


Donator

Peter Friese


Notes

If the parameter QualifiedName does not contain a fully qualified account name, the function will assume that the QualifiedName is the user's name.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page