Click or drag to resize

IDRARestServerGetExchangeAliasName Method

Retrieves exchange name alias. The Exchange alias is used with address lists as an alternative way of specifying the user in the To, Cc, or Bcc text boxes of an e-mail message. (This is sometimes referred to as the nickname property.) This method accepts the first and last name, the initials and the samAccountName. Based on the values in these fields, the server will generate the alias according to policy set on the server. The default (no policy set) is the same as the samAccountName. The required parameters depend on what policy is set. For example, if the selected policy is 'First-Initials-Last', then the you should send firstName, initials, and lastName. When no policy is set, samAccountName is required.
UriTemplate: /dra/domains/{domainFqdn}/exchangeName/{nameType}/get

Namespace:  NetIQ.DRA.RestServiceLibrary
Assembly:  NetIQ.DRA.RestServiceLibrary (in NetIQ.DRA.RestServiceLibrary.dll) Version: 10.2.2.1
Syntax
[OperationContractAttribute]
[WebInvokeAttribute(Method = "POST", ResponseFormat = WebMessageFormat.Json, 
	RequestFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped, 
	UriTemplate = "/dra/domains/{domainFqdn}/exchangeName/{nameType}/get")]
Stream GetExchangeAliasName(
	string domainFqdn,
	string nameType,
	string firstName,
	string initials,
	string lastName,
	string samAccountName,
	string alias,
	ConnectionParameters connectionParameters
)

Parameters

domainFqdn
Type: SystemString
The FQDN of the domain to query
nameType
Type: SystemString
The type of exchange name to generate. E.g. Alias
firstName
Type: SystemString
string containing the first name of the user or contact
initials
Type: SystemString
string containing the initials of the user or contact
lastName
Type: SystemString
string containing the last name of the user or contact
samAccountName
Type: SystemString
string containing the samAccountName, if the target is a user
alias
Type: SystemString
string container the mailNickname of the user
connectionParameters
Type: NetIQ.DRA.Common.Rest.DataModelsConnectionParameters
Optional ConnectionParameters to specify a DRA server and Assistant Admin credentials

Return Value

Type: Stream
A ExchangeGetAliasNameResponse object containing the operation results
See Also