Beispiel #1
0
        /// <summary>
        /// Gets the RightsManagementInformation by Settings command.
        /// </summary>
        /// <returns>The Settings response which is returned from server.</returns>
        public SettingsResponse Settings()
        {
            SettingsRequest request = new SettingsRequest();

            Request.SettingsRightsManagementInformation settingsInformation = new Request.SettingsRightsManagementInformation();
            Request.SettingsUserInformation             setUser             = new Request.SettingsUserInformation {
                Item = string.Empty
            };
            settingsInformation.Get = string.Empty;
            request.RequestData.RightsManagementInformation = settingsInformation;
            request.RequestData.UserInformation             = setUser;
            SettingsResponse response = this.activeSyncClient.Settings(request);

            Site.Assert.IsNotNull(response, "If the command is successful, the response should not be null.");
            this.VerifyWBXMLCapture();
            this.VerifySettingsResponse(response);
            return(response);
        }