ResolveNamesΒΆ

This documentation provides details about the ResolveNames class within the pyews package.

This class is used to resolve a mailbox email address to retrieve details about a user.

Resolve names based on the provided UserConfiguration object.

This class is used as an alternative to Autodiscover since ResolveNames endpoint is a common endpoint across all versions of Microsoft Exchange & Office 365.

Examples:

To use any service class you must provide a UserConfiguration object first. Like all service classes, you can access formatted properties from the EWS endpoint using the response property.

By passing in a UserConfiguration object we can

userConfig = UserConfiguration(
    'first.last@company.com',
    'mypassword123'
)
print(ResolveNames(userConfig))
Args:
userconfiguration (UserConfiguration): A UserConfiguration object created using the UserConfiguration class