Location: Symbol Reference > Classes > TJwCredentialsTools Class > TJwCredentialsTools Methods > TJwCredentialsTools.ParseUserName Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwCredentialsTools.ParseUserName Method
Pascal
class procedure ParseUserName(Input: TJwString; out User: TJwString; out Domain: TJwString);
Parameters 
Description 
Input: TJwString 
[in] gets a fully qualified name to be parsed.  
out User: TJwString 
[out] receives the username  
out Domain: TJwString 
[out] receives the domain name. If Input specifies a certificate, the parameter is empty. 

ParseUserName splits a fully qualified name into domain and username. See CredUIParseUserName (http://msdn2.microsoft.com/en-us/library/aa375175.aspx) 

 

Exceptions 
Description 
will be raised if the username is not valid. will be raised if the allocated buffer for user or password buffer is to small. Currently the buffer is limited to 500 (wide-) characters.
TJwCredentialsPrompt 
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!