示例#1
0
    /// <summary>
    ///
    /// </summary>
    /// <param name="userId"></param>
    private bool DeleteUserFromSite(string userId)
    {
        //ref: site

        //Create a web request
        var urlDeleteUser = _onlineUrls.Url_DeleteUserFromSite(_onlineSession, userId);

        bool success = ResourceSafe_PerformWebRequestResponseLogErrors(
            urlDeleteUser,
            "delete user from site",
            "DELETE");

        return(success);
    }