AutodiscoverService.GetUsersSettings method

Retrieves the specified settings for a set of users.

Namespace:  Microsoft.Exchange.WebServices.Autodiscover
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public GetUserSettingsResponseCollection GetUsersSettings(
	IEnumerable<string> userSmtpAddresses,
	params UserSettingName[] userSettingNames
)

Parameters

userSmtpAddresses
Type: System.Collections.Generic.IEnumerable<String>

The SMTP addresses of the users.

userSettingNames
Type: []

The user setting names.

Return value

Type: Microsoft.Exchange.WebServices.Autodiscover.GetUserSettingsResponseCollection
The responses for each individual user.

This method applies to versions of Exchange starting with Exchange 2010, including Exchange Online. Use the GetUserSettings(String, []) method if you are targeting an Exchange 2007 mailbox.

Show: