BuildFullName

Security Manager Module

Description If a namespace and namespace delimiter are being used, returns the full, namespace-qualified name of the specified account.
Returns String
Usage Script Only.
Related to: GetAccountID | GetAccountInfo | GetGroupName | GetFullName | GetUserName | IsLoggedOn | IsSecured | IsSuspended | SecurityCheck | UIErrorToText | Security NameSpaces
Format \SecurityManager.BuildFullName(AccountName [, GroupName]);
Parameters  
AccountName
The name of an account to generate the full name for.
GroupName
The name of a namespace (group) to use when building the full name.
Comments If the configuration setting NameSpaceDelimiter is valid, returns the full, namespace-qualified name of the specified account.
If the GroupName parameter is Invalid or not specified, or if the account is a member of the root namespace, or the configuration setting NameSpaceDelimiter is Invalid, the return value is the account name, as passed in.

Example:

    IfThen(StrICmp(Username, \SecurityManager.GetShortUserName(Username, &Realm)) == 0,
       { No realm was provided in the username. As a convenience, prepend it to the username. }
      Username = \SecurityManager.BuildFullName(UserName, \SecurityManager.GetGroupName());
    );